Skip to content

Commit

Permalink
Merge pull request #4378 from zdenop/fix_UT_main
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin authored Dec 31, 2024
2 parents 08f531a + 57769d9 commit 770d9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dict/dawg.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static const char kWildcard[] = "*";
class TESS_API Dawg {
public:
/// Magic number to determine endianness when reading the Dawg from file.
static const int16_t kDawgMagicNumber = 42;
static constexpr int16_t kDawgMagicNumber = 42;
/// A special unichar id that indicates that any appropriate pattern
/// (e.g.dictionary word, 0-9 digit, etc) can be inserted instead
/// Used for expressing patterns in punctuation and number Dawgs.
Expand Down

0 comments on commit 770d9e1

Please sign in to comment.