From db9c67b9130d6d7eeb78a7d01289c5edaf2d5bfb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 21 Nov 2012 22:44:41 +0000 Subject: Trim dead code. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4845 a436a847-0d15-0410-975c-d299462d15a1 --- src/Configuration.cpp | 9 --------- src/ingen/main.cpp | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'src') diff --git a/src/Configuration.cpp b/src/Configuration.cpp index 935b6796..e4f6ecd4 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -241,15 +241,6 @@ Configuration::load_default(const std::string& app, const std::string& file) return loaded; } -void -Configuration::print(std::ostream& os, const std::string mime_type) const -{ - for (Options::const_iterator o = _options.begin(); o != _options.end(); ++o) { - const Option& option = o->second; - os << o->first << " = " << option.value << std::endl; - } -} - const Raul::Atom& Configuration::option(const std::string& long_name) const { diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index f89a356a..d1b08f52 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -164,7 +164,7 @@ main(int argc, char** argv) symbol = Raul::Symbol(p.symbol()); } } else { - cerr << "Invalid path given: '" << path_option << endl; + cerr << "Invalid path given: '" << path_option.get_string() << endl; } } -- cgit v1.2.1