From a6045e5dc58f2dd2ab9e3d3d19fd3eaf6d84216f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 7 Jan 2010 01:22:03 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2351 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/DeprecatedLoader.cpp | 8 ++++---- src/client/NodeModel.cpp | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src/client') diff --git a/src/client/DeprecatedLoader.cpp b/src/client/DeprecatedLoader.cpp index 088bf17d..18785667 100644 --- a/src/client/DeprecatedLoader.cpp +++ b/src/client/DeprecatedLoader.cpp @@ -342,7 +342,7 @@ DeprecatedLoader::load_patch(const Glib::ustring& filename, _engine->set_port_value(translate_load_path(i->port_path().str()), Atom(value)); } } else { - LOG(warn) << "Unknown preset: \"" << pm->name() << endl; + LOG(warn) << "Unknown preset `" << pm->name() << "'" << endl; } } cur = cur->next; @@ -485,7 +485,7 @@ DeprecatedLoader::load_node(const Path& parent, xmlDocPtr doc, const xmlNodePtr _engine->put(path, props); } else { is_port = false; - LOG(warn) << "Unknown internal plugin label \"" << plugin_label << "\"" << endl; + LOG(warn) << "Unknown internal plugin label `" << plugin_label << "'" << endl; } } @@ -494,8 +494,8 @@ DeprecatedLoader::load_node(const Path& parent, xmlDocPtr doc, const xmlNodePtr const string new_path = (Path::is_valid(old_path) ? old_path : Path::pathify(old_path)); if (!Path::is_valid(old_path)) - LOG(warn) << "Translating invalid port path \"" << old_path << "\" => \"" - << new_path << "\"" << endl; + LOG(warn) << "Translating invalid port path `" << old_path << "' => `" + << new_path << "'" << endl; // Set up translations (for connections etc) to alias both the old // module path and the old module/port path to the new port path diff --git a/src/client/NodeModel.cpp b/src/client/NodeModel.cpp index c4ddbbaf..07bdccf8 100644 --- a/src/client/NodeModel.cpp +++ b/src/client/NodeModel.cpp @@ -69,7 +69,6 @@ NodeModel::~NodeModel() void NodeModel::remove_port(SharedPtr port) { - // FIXME: slow for (Ports::iterator i = _ports.begin(); i != _ports.end(); ++i) { if ((*i) == port) { _ports.erase(i); @@ -83,7 +82,6 @@ NodeModel::remove_port(SharedPtr port) void NodeModel::remove_port(const Path& port_path) { - // FIXME: slow for (Ports::iterator i = _ports.begin(); i != _ports.end(); ++i) { if ((*i)->path() == port_path) { _ports.erase(i); -- cgit v1.2.1