summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-03-29 06:39:56 (GMT)
committerChristian Glöckner <cgloeckner@freenet.de>2016-03-29 06:39:56 (GMT)
commit8cad6b8b9936d94218b3eeeec43edb5d5006fecf (patch)
tree399e2ced4790227bb160c4c0032db4e9f9b63ed8
parent940e1b410343f423a9bc41ca8da0c3859e2333fc (diff)
changed namespace
-rw-r--r--example.cpp2
-rw-r--r--getoptpp.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/example.cpp b/example.cpp
index c99f3e7..f4ca943 100644
--- a/example.cpp
+++ b/example.cpp
@@ -5,7 +5,7 @@
int main(int argc, char* argv[]) {
int verbose_flag;
- gopt::Options opt;
+ dg::Options opt;
opt.add("verbose", no_argument, &verbose_flag, 1, [&]() {
std::cout << "verbose: " << verbose_flag << "\n";
});
diff --git a/getoptpp.hpp b/getoptpp.hpp
index 4fe3c3a..cd7469b 100644
--- a/getoptpp.hpp
+++ b/getoptpp.hpp
@@ -5,7 +5,7 @@
#include <unordered_map>
#include <getopt.h>
-namespace gopt {
+namespace dg {
using Handle = std::function<void()>;