summaryrefslogtreecommitdiffstats
path: root/src/Configuration.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-12 21:16:12 +0100
committerDavid Robillard <d@drobilla.net>2017-02-12 21:16:12 +0100
commit0faf69db76f668944d9380152fd4f9080d9e6152 (patch)
tree3f7e7c9d8edb1611b87cb5decfca627819e75b65 /src/Configuration.cpp
parent369118b48747b8b3b8eaf14b2e7f51549720d5ab (diff)
downloadingen-0faf69db76f668944d9380152fd4f9080d9e6152.tar.gz
ingen-0faf69db76f668944d9380152fd4f9080d9e6152.tar.bz2
ingen-0faf69db76f668944d9380152fd4f9080d9e6152.zip
Fix warnings
Diffstat (limited to 'src/Configuration.cpp')
-rw-r--r--src/Configuration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Configuration.cpp b/src/Configuration.cpp
index e165118f..603c1c9d 100644
--- a/src/Configuration.cpp
+++ b/src/Configuration.cpp
@@ -86,7 +86,7 @@ Configuration::add(const std::string& key,
{
assert(value.type() == type || value.type() == 0);
_max_name_length = std::max(_max_name_length, name.length());
- _options.insert(make_pair(name, Option(key, name, letter, desc, scope, type, value)));
+ _options.insert(make_pair(name, Option{key, name, letter, desc, scope, type, value}));
if (!key.empty()) {
_keys.insert(make_pair(key, name));
}