Use constexpr for Bopomofo Components

This commit is contained in:
Lukhnos Liu 2022-01-31 22:24:25 -08:00
parent f4a0f2fe93
commit 2f567cddc2
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class BopomofoSyllable {
friend std::ostream& operator<<(std::ostream& stream,
const BopomofoSyllable& syllable);
static const Component
static constexpr Component
ConsonantMask = 0x001f, // 0000 0000 0001 1111, 21 consonants
MiddleVowelMask = 0x0060, // 0000 0000 0110 0000, 3 middle vowels
VowelMask = 0x0780, // 0000 0111 1000 0000, 13 vowels