diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-21 13:50:25 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-21 13:50:25 +0200 |
commit | 06d7a466565cf939aab68c942a84254bcb3453fa (patch) | |
tree | 4c1096170beba81e7d367704c37f76882261445a /lib | |
parent | Add Boost_INCLUDE_DIRS to configuration (diff) | |
download | smolbote-06d7a466565cf939aab68c942a84254bcb3453fa.tar.xz |
Remove unneeded po::store
Diffstat (limited to 'lib')
-rw-r--r-- | lib/about/aboutdialog.cpp | 2 | ||||
-rw-r--r-- | lib/configuration/configuration.cpp | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/about/aboutdialog.cpp b/lib/about/aboutdialog.cpp index 2b382c6..df87ad2 100644 --- a/lib/about/aboutdialog.cpp +++ b/lib/about/aboutdialog.cpp @@ -18,7 +18,7 @@ #elif defined(__GNUC__) #define compiler "GCC " __VERSION__ #elif defined(_MSC_VER) -#define compiler "MSVC " _MSC_VER +#define compiler "MSVC" #else #define compiler "unknown compiler" #endif diff --git a/lib/configuration/configuration.cpp b/lib/configuration/configuration.cpp index edca0d8..d3a8b23 100644 --- a/lib/configuration/configuration.cpp +++ b/lib/configuration/configuration.cpp @@ -81,12 +81,6 @@ Configuration::Configuration() ("downloads.path", po::value<std::string>()->default_value("~/Downloads")) ("downloads.shortcut", po::value<std::string>()->default_value("Ctrl+D")) ; - - // store the defaults into the vm - { - const char *argv[0]; - po::store(po::parse_command_line(0, argv, desc), vm); - } } Configuration::~Configuration() = default; |