From 8a7b4d5bb51b9d3d827bc4d0c8c7861f0935060c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 8 Aug 2015 15:16:34 +0200 Subject: Explicit capture annotations Change-Id: I7be1a36196a07a80a7b7173c3869621f5d707204 --- extensions/source/logging/logger.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/source') diff --git a/extensions/source/logging/logger.cxx b/extensions/source/logging/logger.cxx index 654994e6a71a..5a62c8944850 100644 --- a/extensions/source/logging/logger.cxx +++ b/extensions/source/logging/logger.cxx @@ -174,7 +174,7 @@ namespace logging return; m_aHandlers.forEach< XLogHandler >( - [&] (Reference const& rxListener) { rxListener->publish(_rRecord); } ); + [&_rRecord] (Reference const& rxListener) { rxListener->publish(_rRecord); } ); m_aHandlers.forEach< XLogHandler >( [] (Reference const& rxListener) { rxListener->flush(); } ); } -- cgit