[Libreoffice-commits] core.git: desktop/source
Stephan Bergmann
sbergman at redhat.com
Sat Jan 14 17:34:25 UTC 2017
desktop/source/lib/init.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a207bb515ed949d403cadb5970b042bd57574e5f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sat Jan 14 18:33:59 2017 +0100
-Werror,-Wunused-lambda-capture
Change-Id: Idb3c9673d8c20782ff2d7995aad30ed9253b5337
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index f47970d8..e3f5172 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -851,7 +851,7 @@ void CallbackFlushHandler::queue(const int type, const char* data)
{
const std::string name = payload.substr(0, pos + 1);
removeAll(
- [type, &payload, &name] (const queue_type::value_type& elem) {
+ [type, &name] (const queue_type::value_type& elem) {
return (elem.first == type) && (elem.second.compare(0, name.size(), name) == 0);
}
);
More information about the Libreoffice-commits
mailing list