summaryrefslogtreecommitdiffstats
path: root/src/engine/QueuedEngineInterface.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-12-30 15:48:50 +0000
committerDavid Robillard <d@drobilla.net>2009-12-30 15:48:50 +0000
commit715d577a38d04a98405a015fd18d49c0fed40c21 (patch)
tree02102070145066128a6ff4181256da59c63aacf7 /src/engine/QueuedEngineInterface.cpp
parent87be66d677b1947ef1b5f866c44b0beb1263ac17 (diff)
downloadingen-715d577a38d04a98405a015fd18d49c0fed40c21.tar.gz
ingen-715d577a38d04a98405a015fd18d49c0fed40c21.tar.bz2
ingen-715d577a38d04a98405a015fd18d49c0fed40c21.zip
Fix renaming (fix ticket #458).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2324 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/QueuedEngineInterface.cpp')
-rw-r--r--src/engine/QueuedEngineInterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/QueuedEngineInterface.cpp b/src/engine/QueuedEngineInterface.cpp
index 09e711cc..421342e5 100644
--- a/src/engine/QueuedEngineInterface.cpp
+++ b/src/engine/QueuedEngineInterface.cpp
@@ -155,14 +155,14 @@ void
QueuedEngineInterface::put(const URI& uri,
const Resource::Properties& properties)
{
- bool meta = uri.substr(0, 6) == "meta:#";
+ bool meta = ResourceImpl::is_meta_uri(uri);
URI subject(meta ? (string("path:/") + uri.substr(6)) : uri.str());
- /*cerr << "ENGINE PUT " << subject << " {" << endl;
+ cerr << "ENGINE PUT " << subject << " {" << endl;
typedef Resource::Properties::const_iterator iterator;
for (iterator i = properties.begin(); i != properties.end(); ++i)
cerr << "\t" << i->first << " = " << i->second << " :: " << i->second.type() << endl;
- cerr << "}" << endl;*/
+ cerr << "}" << endl;
push_queued(new Events::SetMetadata(_engine, _responder, now(), this, true, meta, subject, properties));
}