aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppquickfix.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-07-27 15:29:16 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-07-27 15:32:40 +0200
commitb2659950e243e8902e696e03b536d50135791c51 (patch)
tree03a15df23200ca362d5bb5149f37ca83fe30a9e7 /src/plugins/cppeditor/cppquickfix.cpp
parent51d6b09efc036c390128c2d6393765c1600d5b39 (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.cpp2
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;
}