[osmium-tool] 35/44: Move namespace alias into common header file.

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


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

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

commit d22749432febcb5c9ff6980085962766dd2e2de3
Author: Jochen Topf <jochen at topf.org>
Date:   Fri Jul 3 14:16:48 2015 +0200

    Move namespace alias into common header file.
---
 src/command_apply_changes.cpp | 1 -
 src/command_cat.cpp           | 1 -
 src/command_check_refs.cpp    | 1 -
 src/command_fileinfo.cpp      | 1 -
 src/command_getid.cpp         | 1 -
 src/command_merge_changes.cpp | 1 -
 src/command_renumber.cpp      | 1 -
 src/command_time_filter.cpp   | 1 -
 src/osmc.hpp                  | 1 +
 9 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/command_apply_changes.cpp b/src/command_apply_changes.cpp
index 76d8ef9..300416a 100644
--- a/src/command_apply_changes.cpp
+++ b/src/command_apply_changes.cpp
@@ -32,7 +32,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "command_apply_changes.hpp"
 
 bool CommandApplyChanges::setup(const std::vector<std::string>& arguments) {
-    namespace po = boost::program_options;
     po::variables_map vm;
 
     po::options_description cmdline("Allowed options");
diff --git a/src/command_cat.cpp b/src/command_cat.cpp
index f960313..ec3f69c 100644
--- a/src/command_cat.cpp
+++ b/src/command_cat.cpp
@@ -31,7 +31,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "command_cat.hpp"
 
 bool CommandCat::setup(const std::vector<std::string>& arguments) {
-    namespace po = boost::program_options;
     po::variables_map vm;
 
     po::options_description cmdline("Allowed options");
diff --git a/src/command_check_refs.cpp b/src/command_check_refs.cpp
index cacc32b..ae5c933 100644
--- a/src/command_check_refs.cpp
+++ b/src/command_check_refs.cpp
@@ -35,7 +35,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "command_check_refs.hpp"
 
 bool CommandCheckRefs::setup(const std::vector<std::string>& arguments) {
-    namespace po = boost::program_options;
     po::variables_map vm;
 
     po::options_description cmdline("Allowed options");
diff --git a/src/command_fileinfo.cpp b/src/command_fileinfo.cpp
index 2f8ba06..5f63d06 100644
--- a/src/command_fileinfo.cpp
+++ b/src/command_fileinfo.cpp
@@ -481,7 +481,6 @@ public:
 /*************************************************************************/
 
 bool CommandFileinfo::setup(const std::vector<std::string>& arguments) {
-    namespace po = boost::program_options;
     po::variables_map vm;
 
     po::options_description cmdline("Allowed options");
diff --git a/src/command_getid.cpp b/src/command_getid.cpp
index 60d8fcc..a1d91e4 100644
--- a/src/command_getid.cpp
+++ b/src/command_getid.cpp
@@ -45,7 +45,6 @@ void CommandGetId::sort_unique(osmium::item_type type) {
 }
 
 bool CommandGetId::setup(const std::vector<std::string>& arguments) {
-    namespace po = boost::program_options;
     po::variables_map vm;
 
     po::options_description cmdline("Allowed options");
diff --git a/src/command_merge_changes.cpp b/src/command_merge_changes.cpp
index 13d4f38..b9b6185 100644
--- a/src/command_merge_changes.cpp
+++ b/src/command_merge_changes.cpp
@@ -33,7 +33,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "command_merge_changes.hpp"
 
 bool CommandMergeChanges::setup(const std::vector<std::string>& arguments) {
-    namespace po = boost::program_options;
     po::variables_map vm;
 
     po::options_description cmdline("Allowed options");
diff --git a/src/command_renumber.cpp b/src/command_renumber.cpp
index 205cdf0..43eb79e 100644
--- a/src/command_renumber.cpp
+++ b/src/command_renumber.cpp
@@ -41,7 +41,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "command_renumber.hpp"
 
 bool CommandRenumber::setup(const std::vector<std::string>& arguments) {
-    namespace po = boost::program_options;
     po::variables_map vm;
 
     po::options_description cmdline("Allowed options");
diff --git a/src/command_time_filter.cpp b/src/command_time_filter.cpp
index f3c6c1c..167271a 100644
--- a/src/command_time_filter.cpp
+++ b/src/command_time_filter.cpp
@@ -31,7 +31,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "command_time_filter.hpp"
 
 bool CommandTimeFilter::setup(const std::vector<std::string>& arguments) {
-    namespace po = boost::program_options;
     po::variables_map vm;
 
     po::options_description cmdline("Allowed options");
diff --git a/src/osmc.hpp b/src/osmc.hpp
index 1547757..1b13027 100644
--- a/src/osmc.hpp
+++ b/src/osmc.hpp
@@ -30,6 +30,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include <vector>
 
 #include <boost/program_options.hpp>
+namespace po = boost::program_options;
 
 #include <osmium/io/file.hpp>
 #include <osmium/io/overwrite.hpp>

-- 
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