diff options
Diffstat (limited to 'lib/configuration')
-rw-r--r-- | lib/configuration/configuration.cpp | 2 | ||||
-rw-r--r-- | lib/configuration/configuration.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/configuration/configuration.cpp b/lib/configuration/configuration.cpp index d3a8b23..01bf1c6 100644 --- a/lib/configuration/configuration.cpp +++ b/lib/configuration/configuration.cpp @@ -106,7 +106,7 @@ bool Configuration::read(const QString &path) return true; } -bool Configuration::parse(int argc, const char **argv) +bool Configuration::parse(int argc, char **argv) { try { po::store(po::parse_command_line(argc, argv, desc), vm); diff --git a/lib/configuration/configuration.h b/lib/configuration/configuration.h index c5e044f..5b59766 100644 --- a/lib/configuration/configuration.h +++ b/lib/configuration/configuration.h @@ -26,7 +26,7 @@ public: static QString defaultUserConfigLocation(); bool read(const QString &path); - bool parse(int argc, const char **argv); + bool parse(int argc, char **argv); template <typename T> std::optional<T> value(const char *path) const |