[osmium-tool] 74/97: Another try to make MSVC happy.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Tue Jul 21 20:15:36 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 9d63d2b1724b1c7d2e00f3a0e617f593c1446886
Author: Jochen Topf <jochen at topf.org>
Date: Thu Jan 29 18:10:55 2015 +0100
Another try to make MSVC happy.
---
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 d2bfd63..ea426a5 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;
- bool keep_deleted = !m_remove_deleted;
+ const 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