Commit 1b312869 authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Tim Jenssen

CppTools: Fix compilation with MSVC

Change-Id: I81e966414f7b2060b86879b696918227eac13a73
Reviewed-by: default avatarTim Jenssen <>
parent 40749b84
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment