diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2014-07-04 14:57:12 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@digia.com> | 2014-07-04 14:59:06 +0200 |
commit | 1b31286932d1f1050ff3c3eec466811581af8348 (patch) | |
tree | 20174039a2195c3c8cf52470595116264d137398 /src/plugins/cpptools/cpplocalsymbols_test.cpp | |
parent | 40749b84833dbfda1b5fadb7c64119c593d3ae23 (diff) | |
download | qt-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.cpp | 2 |
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; |