From 0faf69db76f668944d9380152fd4f9080d9e6152 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2017 21:16:12 +0100 Subject: Fix warnings --- src/Configuration.cpp | 2 +- src/ingen/ingen.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 { -- cgit v1.2.1