We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 236473b commit 028f7a5Copy full SHA for 028f7a5
include/MyGL/Drawable/Text.hpp
@@ -32,7 +32,7 @@ namespace my
32
utf8::utf32to8(view.begin(), view.end(), std::back_inserter(result));
33
return result;
34
} else {
35
- static_assert(false, "Unknown character encoding");
+ static_assert(sizeof(CharType) == 0, "Unknown character encoding");
36
}
37
38
} // namespace util
0 commit comments