[osmium-tool] 33/97: avoid {} initialization
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Tue Jul 21 20:15:32 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 69b92475348bc4d08ca5c11726af005090cbfab4
Author: alex85k <alex85k at github.com>
Date: Tue Aug 26 14:09:54 2014 +0600
avoid {} initialization
---
src/command_fileinfo.cpp | 2 +-
src/command_time_filter.hpp | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/command_fileinfo.cpp b/src/command_fileinfo.cpp
index 703cbf6..b0e1f32 100644
--- a/src/command_fileinfo.cpp
+++ b/src/command_fileinfo.cpp
@@ -102,7 +102,7 @@ struct InfoHandler : public osmium::handler::Handler {
uint64_t relations = 0;
osmium::Timestamp first_timestamp = osmium::end_of_time();
osmium::Timestamp last_timestamp = osmium::start_of_time();
- CryptoPP::SHA hash {};
+ CryptoPP::SHA hash;
void changeset(const osmium::Changeset& changeset) {
hash.Update(changeset.data(), changeset.byte_size());
diff --git a/src/command_time_filter.hpp b/src/command_time_filter.hpp
index b437375..214f1cb 100644
--- a/src/command_time_filter.hpp
+++ b/src/command_time_filter.hpp
@@ -45,8 +45,8 @@ class CommandTimeFilter : public Command {
osmium::io::File m_input_file;
osmium::io::File m_output_file;
- osmium::Timestamp m_from {};
- osmium::Timestamp m_to {};
+ osmium::Timestamp m_from;
+ osmium::Timestamp m_to;
public:
--
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