summaryrefslogtreecommitdiffstats
path: root/src
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
parent369118b48747b8b3b8eaf14b2e7f51549720d5ab (diff)
downloadingen-0faf69db76f668944d9380152fd4f9080d9e6152.tar.gz
ingen-0faf69db76f668944d9380152fd4f9080d9e6152.tar.bz2
ingen-0faf69db76f668944d9380152fd4f9080d9e6152.zip
Fix warnings
Diffstat (limited to 'src')
-rw-r--r--src/Configuration.cpp2
-rw-r--r--src/ingen/ingen.cpp2
2 files changed, 2 insertions, 2 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));
}
diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp
index 1e407507..9ca4b276 100644
--- a/src/ingen/ingen.cpp
+++ b/src/ingen/ingen.cpp
@@ -86,7 +86,7 @@ int
main(int argc, char** argv)
{
Glib::thread_init();
- Ingen::set_bundle_path_from_code((void*)&main);
+ Ingen::set_bundle_path_from_code((void*)&print_version);
// Create world
try {