summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpplocalsymbols_test.cpp
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2014-07-04 14:57:12 +0200
committerTim Jenssen <tim.jenssen@digia.com>2014-07-04 14:59:06 +0200
commit1b31286932d1f1050ff3c3eec466811581af8348 (patch)
tree20174039a2195c3c8cf52470595116264d137398 /src/plugins/cpptools/cpplocalsymbols_test.cpp
parent40749b84833dbfda1b5fadb7c64119c593d3ae23 (diff)
downloadqt-creator-1b31286932d1f1050ff3c3eec466811581af8348.tar.gz
CppTools: Fix compilation with MSVC
Change-Id: I81e966414f7b2060b86879b696918227eac13a73 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpplocalsymbols_test.cpp')
-rw-r--r--src/plugins/cpptools/cpplocalsymbols_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpplocalsymbols_test.cpp b/src/plugins/cpptools/cpplocalsymbols_test.cpp
index 97b9ec9ca9..2969f21b11 100644
--- a/src/plugins/cpptools/cpplocalsymbols_test.cpp
+++ b/src/plugins/cpptools/cpplocalsymbols_test.cpp
@@ -107,7 +107,7 @@ struct Result
result << fromHighlightingResult(symbol, use);
}
- Utils::sort(result, [](const Result &r1, const Result &r2) {
+ Utils::sort(result, [](const Result &r1, const Result &r2) -> bool {
if (r1.line == r2.line)
return r1.column < r2.column;
return r1.line < r2.line;