diff options
author | David Robillard <d@drobilla.net> | 2019-03-08 12:38:19 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-09 00:43:43 +0100 |
commit | 532af2452bac2cdd0e2732ad145fdc2b141a4afc (patch) | |
tree | 0b078c37a137ef0da3a1e76bc150e99f65f6d7dc /src/ingen | |
parent | 6bb3c48972d172fec244afae08a905e2246d9cda (diff) | |
download | ingen-532af2452bac2cdd0e2732ad145fdc2b141a4afc.tar.gz ingen-532af2452bac2cdd0e2732ad145fdc2b141a4afc.tar.bz2 ingen-532af2452bac2cdd0e2732ad145fdc2b141a4afc.zip |
Localise dependency on boost::format and improve logging API
Diffstat (limited to 'src/ingen')
-rw-r--r-- | src/ingen/ingen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp index bc47d433..e5503715 100644 --- a/src/ingen/ingen.cpp +++ b/src/ingen/ingen.cpp @@ -143,11 +143,11 @@ main(int argc, char** argv) if (!engine_interface) { const char* const uri = conf.option("connect").ptr<char>(); ingen_try(URI::is_valid(uri), - (fmt("Invalid URI <%1%>") % uri).str().c_str()); + fmt("Invalid URI <%1%>", uri).c_str()); engine_interface = world->new_interface(URI(uri), dummy_client); if (!engine_interface && !conf.option("gui").get<int32_t>()) { - cerr << (fmt("ingen: error: Failed to connect to `%1%'\n") % uri); + cerr << fmt("ingen: error: Failed to connect to `%1%'\n", uri); return EXIT_FAILURE; } @@ -256,7 +256,7 @@ main(int argc, char** argv) // Save configuration to restore preferences on next run const std::string path = conf.save( world->uri_map(), "ingen", "options.ttl", Configuration::GLOBAL); - std::cout << (fmt("Saved configuration to %1%") % path) << std::endl; + std::cout << fmt("Saved configuration to %1%\n", path); engine_interface.reset(); |