This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to tag v1.0.0
in repository osmium-tool.

commit 8cc540c68996a6cbabf8ca847aaf9cbe2d6ff391
Author: Jochen Topf <joc...@topf.org>
Date:   Wed Aug 27 22:40:16 2014 +0200

    Use value instead of reference captures in lambda.
    
    This should allow the lambda to be copied around.
---
 src/command_apply_changes.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/command_apply_changes.cpp b/src/command_apply_changes.cpp
index 97c1637..6d6e9b8 100644
--- a/src/command_apply_changes.cpp
+++ b/src/command_apply_changes.cpp
@@ -170,7 +170,7 @@ bool CommandApplyChanges::run() {
         osmium::object_id_type id = 0;
         bool keep_deleted = !m_remove_deleted;
 
-        auto output_it = boost::make_function_output_iterator([&out, &id, 
keep_deleted](const osmium::OSMObject& obj) {
+        auto output_it = boost::make_function_output_iterator([out, id, 
keep_deleted](const osmium::OSMObject& obj) mutable {
             if (obj.id() != id) {
                 if (keep_deleted || obj.visible()) {
                     *out = obj;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/osmium-tool.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to