Skip to content

Commit

Permalink
bugfix static_assert() message
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 4, 2024
1 parent aad3395 commit 9222a65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/orm/utils/integralcast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ namespace Private
return "char";
else
// This should never happen :/
static_assert (false, "Invalid C template argument.");
static_assert (false,
"Unhandled code branch in the Private::IntegralTypeName<T>().");
}

/*! Compute number group separators count for reserve for formatNumber() function. */
Expand Down

0 comments on commit 9222a65

Please sign in to comment.