diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-08 15:16:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-08 15:16:34 +0200 |
commit | 8a7b4d5bb51b9d3d827bc4d0c8c7861f0935060c (patch) | |
tree | e83618b41f56ca11122767e4afa4593b560e32a6 /extensions/source | |
parent | 4ce10ff6ce725212efa91a017a61e1bd781008c1 (diff) |
Explicit capture annotations
Change-Id: I7be1a36196a07a80a7b7173c3869621f5d707204
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/logging/logger.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<XLogHandler> const& rxListener) { rxListener->publish(_rRecord); } ); + [&_rRecord] (Reference<XLogHandler> const& rxListener) { rxListener->publish(_rRecord); } ); m_aHandlers.forEach< XLogHandler >( [] (Reference<XLogHandler> const& rxListener) { rxListener->flush(); } ); } |