Skip to content

Commit 028f7a5

Browse files
committed
Fix a static assert on windows
1 parent 236473b commit 028f7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/MyGL/Drawable/Text.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace my
3232
utf8::utf32to8(view.begin(), view.end(), std::back_inserter(result));
3333
return result;
3434
} else {
35-
static_assert(false, "Unknown character encoding");
35+
static_assert(sizeof(CharType) == 0, "Unknown character encoding");
3636
}
3737
}
3838
} // namespace util

0 commit comments

Comments
 (0)