[osmium-tool] 79/97: Revert "Another try to make MSVC happy."

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue Jul 21 20:15:37 UTC 2015


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 2a08b01e9e6f3a7098098a5572238cfa5a1d2eb1
Author: Jochen Topf <jochen at topf.org>
Date:   Fri Jan 30 10:28:26 2015 +0100

    Revert "Another try to make MSVC happy."
    
    This reverts commit 9d63d2b1724b1c7d2e00f3a0e617f593c1446886.
---
 src/command_apply_changes.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/command_apply_changes.cpp b/src/command_apply_changes.cpp
index ea426a5..d2bfd63 100644
--- a/src/command_apply_changes.cpp
+++ b/src/command_apply_changes.cpp
@@ -168,9 +168,9 @@ bool CommandApplyChanges::run() {
         objects.sort(osmium::object_order_type_id_reverse_version());
 
         osmium::object_id_type id = 0;
-        const bool keep_deleted = !m_remove_deleted;
+        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) {
             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



More information about the Pkg-grass-devel mailing list