diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-07-27 15:29:16 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-07-27 15:32:40 +0200 |
commit | b2659950e243e8902e696e03b536d50135791c51 (patch) | |
tree | 03a15df23200ca362d5bb5149f37ca83fe30a9e7 /src/plugins/cppeditor/cppquickfix.cpp | |
parent | 51d6b09efc036c390128c2d6393765c1600d5b39 (diff) |
Added the InsertionPointLocator.
For answers to questions about where to insert a snippet/chunk of C++ code. Ok,
currently it will only find the One And Only place to insert method
declarations in classes, and it will need some tuning.
Diffstat (limited to 'src/plugins/cppeditor/cppquickfix.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppquickfix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppquickfix.cpp b/src/plugins/cppeditor/cppquickfix.cpp index eb452c598b..e3b910265a 100644 --- a/src/plugins/cppeditor/cppquickfix.cpp +++ b/src/plugins/cppeditor/cppquickfix.cpp @@ -81,7 +81,7 @@ SemanticInfo CppQuickFixState::semanticInfo() const return _semanticInfo; } -LookupContext CppQuickFixState::context() const +const LookupContext &CppQuickFixState::context() const { return _context; } |