diff options
author | hjk <hjk121@nokiamail.com> | 2013-04-16 13:15:47 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-04-18 10:49:51 +0200 |
commit | ad0331a2a9bf32bcfbb2cd6d1eec2d277cdd90d4 (patch) | |
tree | 926443283d1704eebac7132dbfdd8b2688c9a2aa /src/libs/3rdparty/cplusplus/Lexer.h | |
parent | 13b0ca009252dcbb3afec54d2c0be124aeee6f47 (diff) |
C++: Inline Lexer::control()
Change-Id: Ia37ec33fb031fdea4ad1890fcea3a80b7b46e272
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Lexer.h')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Lexer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/3rdparty/cplusplus/Lexer.h b/src/libs/3rdparty/cplusplus/Lexer.h index e2e39ed480..2484b476a3 100644 --- a/src/libs/3rdparty/cplusplus/Lexer.h +++ b/src/libs/3rdparty/cplusplus/Lexer.h @@ -43,7 +43,7 @@ public: Lexer(const char *firstChar, const char *lastChar); ~Lexer(); - Control *control() const; + Control *control() const { return _control; } TranslationUnit *translationUnit() const; bool qtMocRunEnabled() const; @@ -118,6 +118,7 @@ private: }; TranslationUnit *_translationUnit; + Control *_control; const char *_firstChar; const char *_currentChar; const char *_lastChar; |