summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <[email protected]>2015-10-11 14:20:42 +0200
committerDennis Nienhüser <[email protected]>2015-10-11 14:25:24 +0200
commit4c6642e9d53d3bdde6a99c87a436728ad6567e32 (patch)
tree20843e0afc940ee2a766b6d66abab0da2ad94ac0
parent83f9d6525dcd103976b2858faf8d17a457795a09 (diff)
Explicit lambda return type (MSVC)
-rw-r--r--src/lib/marble/LayerManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/marble/LayerManager.cpp b/src/lib/marble/LayerManager.cpp
index 5ae4c71..9ed62c8 100644
--- a/src/lib/marble/LayerManager.cpp
+++ b/src/lib/marble/LayerManager.cpp
@@ -155,7 +155,7 @@ void LayerManager::renderLayers( GeoPainter *painter, ViewportParams *viewport )
}
// sort them according to their zValue()s
- qSort( layers.begin(), layers.end(), [] ( const LayerInterface * const one, const LayerInterface * const two ) {
+ qSort( layers.begin(), layers.end(), [] ( const LayerInterface * const one, const LayerInterface * const two ) -> bool {
Q_ASSERT( one && two );
return one->zValue() < two->zValue();
} );