Skip to content

Commit

Permalink
updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Apr 15, 2023
1 parent 88e4ebe commit b31621c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/orm/utils/notnull.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace Private
{
public:
static_assert(Private::is_comparable_to_nullptr<T>::value,
"T cannot be compared to nullptr.");
"The NotNull T template argument cannot be the nullptr.");

template<typename U,
typename = std::enable_if_t<std::is_convertible<U, T>::value>>
Expand Down

0 comments on commit b31621c

Please sign in to comment.