diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/scripttools/debugging/qscriptsyntaxhighlighter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp b/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp index 9d00fc9..05c7da4 100644 --- a/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp +++ b/src/scripttools/debugging/qscriptsyntaxhighlighter.cpp @@ -32,7 +32,6 @@ ****************************************************************************/ #include "qscriptsyntaxhighlighter_p.h" -#include "private/qfunctions_p.h" #include <algorithm> @@ -123,12 +122,12 @@ struct KeywordHelper const QString needle; }; -Q_STATIC_GLOBAL_OPERATOR bool operator<(const KeywordHelper &helper, const char *kw) +static bool operator<(const KeywordHelper &helper, const char *kw) { return helper.needle < QLatin1String(kw); } -Q_STATIC_GLOBAL_OPERATOR bool operator<(const char *kw, const KeywordHelper &helper) +static bool operator<(const char *kw, const KeywordHelper &helper) { return QLatin1String(kw) < helper.needle; } |