summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-08 15:16:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-08 15:16:34 +0200
commit8a7b4d5bb51b9d3d827bc4d0c8c7861f0935060c (patch)
treee83618b41f56ca11122767e4afa4593b560e32a6 /chart2
parenttdf#92459 remove compat_functional from extensions (diff)
downloadcore-8a7b4d5bb51b9d3d827bc4d0c8c7861f0935060c.tar.gz
core-8a7b4d5bb51b9d3d827bc4d0c8c7861f0935060c.zip
Explicit capture annotations
Change-Id: I7be1a36196a07a80a7b7173c3869621f5d707204
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/sidebar/ChartSidebarSelectionListener.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/sidebar/ChartSidebarSelectionListener.cxx b/chart2/source/controller/sidebar/ChartSidebarSelectionListener.cxx
index 7f1347955e09..30a2e63bfccc 100644
--- a/chart2/source/controller/sidebar/ChartSidebarSelectionListener.cxx
+++ b/chart2/source/controller/sidebar/ChartSidebarSelectionListener.cxx
@@ -57,7 +57,7 @@ void ChartSidebarSelectionListener::selectionChanged(const css::lang::EventObjec
aAny >>= aCID;
ObjectType eType = ObjectIdentifier::getObjectType(aCID);
bCorrectObjectSelected = std::any_of(maTypes.begin(), maTypes.end(),
- [=](const ObjectType& eTypeInVector) { return eType == eTypeInVector; });
+ [eType](const ObjectType& eTypeInVector) { return eType == eTypeInVector; });
}
}
}