Skip to content

Commit 770d9e1

Browse files
authored
Merge pull request #4378 from zdenop/fix_UT_main
2 parents 08f531a + 57769d9 commit 770d9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dict/dawg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static const char kWildcard[] = "*";
110110
class TESS_API Dawg {
111111
public:
112112
/// Magic number to determine endianness when reading the Dawg from file.
113-
static const int16_t kDawgMagicNumber = 42;
113+
static constexpr int16_t kDawgMagicNumber = 42;
114114
/// A special unichar id that indicates that any appropriate pattern
115115
/// (e.g.dictionary word, 0-9 digit, etc) can be inserted instead
116116
/// Used for expressing patterns in punctuation and number Dawgs.

0 commit comments

Comments
 (0)