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 d85b715abc578a3cfb2b9f851c032e4484997494
Author: Jochen Topf <joc...@topf.org>
Date:   Thu Jan 29 17:56:28 2015 +0100

    Use non-mutable lambda in the hope that this will work with MSVC.
---
 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 bea4710..d2bfd63 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) mutable {
+        auto output_it = boost::make_function_output_iterator([&out, &id, 
keep_deleted](const osmium::OSMObject& obj) {
             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