We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08f531a + 57769d9 commit 770d9e1Copy full SHA for 770d9e1
src/dict/dawg.h
@@ -110,7 +110,7 @@ static const char kWildcard[] = "*";
110
class TESS_API Dawg {
111
public:
112
/// Magic number to determine endianness when reading the Dawg from file.
113
- static const int16_t kDawgMagicNumber = 42;
+ static constexpr int16_t kDawgMagicNumber = 42;
114
/// A special unichar id that indicates that any appropriate pattern
115
/// (e.g.dictionary word, 0-9 digit, etc) can be inserted instead
116
/// Used for expressing patterns in punctuation and number Dawgs.
0 commit comments