summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-07 01:22:03 +0000
committerDavid Robillard <d@drobilla.net>2010-01-07 01:22:03 +0000
commita6045e5dc58f2dd2ab9e3d3d19fd3eaf6d84216f (patch)
tree9dfd8f9eca08096fed8d4500755cd2a89876c7a8 /src/client
parent694736ac7e3478112a276533217ac5c8c7bf64b8 (diff)
downloadingen-a6045e5dc58f2dd2ab9e3d3d19fd3eaf6d84216f.tar.gz
ingen-a6045e5dc58f2dd2ab9e3d3d19fd3eaf6d84216f.tar.bz2
ingen-a6045e5dc58f2dd2ab9e3d3d19fd3eaf6d84216f.zip
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2351 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/DeprecatedLoader.cpp8
-rw-r--r--src/client/NodeModel.cpp2
2 files changed, 4 insertions, 6 deletions
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<PortModel> 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<PortModel> 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);