diff options
Diffstat (limited to 'src/libs/cplusplus/SimpleLexer.h')
-rw-r--r-- | src/libs/cplusplus/SimpleLexer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/cplusplus/SimpleLexer.h b/src/libs/cplusplus/SimpleLexer.h index 1eb4ab6c3b..2ba76210cc 100644 --- a/src/libs/cplusplus/SimpleLexer.h +++ b/src/libs/cplusplus/SimpleLexer.h @@ -59,13 +59,13 @@ public: int state() const { return _lastState; } - static int tokenAt(const QList<Token> &tokens, unsigned offset); + static int tokenAt(const QList<Token> &tokens, unsigned utf16charsOffset); static Token tokenAt(const QString &text, - unsigned offset, + unsigned utf16charsOffset, int state, bool qtMocRunEnabled = false); - static int tokenBefore(const QList<Token> &tokens, unsigned offset); + static int tokenBefore(const QList<Token> &tokens, unsigned utf16charsOffset); private: int _lastState; |