diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2013-09-23 17:34:25 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-24 12:56:48 +0200 |
commit | 62a85ae39e6c3191582cf060a226415959b0fd08 (patch) | |
tree | d544f8b6d9a62b45493b568ed450c3e9d7a0ac20 /src/corelib/tools/qregexp.cpp | |
parent | 1ac094321cf14b7993222830371d4c4bcac62dfa (diff) |
Fix WinCE/MSVC2008 build.
See QTBUG-33473 for a similar problem.
Change-Id: Ib446618945dc1e7e1e7d43819cfae5f3c411f1bb
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/tools/qregexp.cpp')
-rw-r--r-- | src/corelib/tools/qregexp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qregexp.cpp b/src/corelib/tools/qregexp.cpp index c0cd419c53..ef2dba5700 100644 --- a/src/corelib/tools/qregexp.cpp +++ b/src/corelib/tools/qregexp.cpp @@ -2883,6 +2883,8 @@ static const struct CategoriesRangeMapEntry { { "YijingHexagramSymbols", 0x4DC0, 0x4DFF } }; +inline bool operator<(const CategoriesRangeMapEntry &entry1, const CategoriesRangeMapEntry &entry2) +{ return qstrcmp(entry1.name, entry2.name) < 0; } inline bool operator<(const char *name, const CategoriesRangeMapEntry &entry) { return qstrcmp(name, entry.name) < 0; } inline bool operator<(const CategoriesRangeMapEntry &entry, const char *name) |