aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/configuration')
-rw-r--r--lib/configuration/commandline.h2
-rw-r--r--lib/configuration/configuration.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/configuration/commandline.h b/lib/configuration/commandline.h
index 68361cb..3c4dd81 100644
--- a/lib/configuration/commandline.h
+++ b/lib/configuration/commandline.h
@@ -64,7 +64,7 @@ public:
return std::optional<T>(vm[path].as<T>());
}
- const boost::program_options::options_description description() const
+ const boost::program_options::options_description& description() const
{
return m_description;
}
diff --git a/lib/configuration/configuration.h b/lib/configuration/configuration.h
index cce00bd..4f9eafd 100644
--- a/lib/configuration/configuration.h
+++ b/lib/configuration/configuration.h
@@ -110,7 +110,7 @@ public:
}
QHash<QString, QString> section(const std::string &prefix) const;
- const boost::program_options::options_description description() const
+ const boost::program_options::options_description& description() const
{
return configuration_desc;
}