mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[kandinsky] Fix CodePoint uint32_t cast operator
This commit is contained in:
@@ -7,7 +7,7 @@ class CodePoint {
|
||||
public:
|
||||
constexpr static int MaxCodePointCharLength = sizeof(uint32_t) / sizeof(char);
|
||||
constexpr CodePoint(uint32_t c) : m_code(c) {}
|
||||
constexpr operator uint16_t() const { return m_code; }
|
||||
constexpr operator uint32_t() const { return m_code; }
|
||||
|
||||
bool isCombining() const {
|
||||
return (m_code >= 0x300 && m_code <= 0x036F);
|
||||
|
||||
Reference in New Issue
Block a user