summaryrefslogtreecommitdiffstats
path: root/src/client/ClientStore.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-04 03:52:08 +0000
committerDavid Robillard <d@drobilla.net>2010-03-04 03:52:08 +0000
commit3157f13a4f8227d53d4c6c0669d2ea2e7ebe7d6b (patch)
tree004aed4a43706a390b7732bbcd7c955d55b42f5d /src/client/ClientStore.cpp
parente48334e90bad338e6d83eca109702dedbf22f3e1 (diff)
downloadingen-3157f13a4f8227d53d4c6c0669d2ea2e7ebe7d6b.tar.gz
ingen-3157f13a4f8227d53d4c6c0669d2ea2e7ebe7d6b.tar.bz2
ingen-3157f13a4f8227d53d4c6c0669d2ea2e7ebe7d6b.zip
Remove Raul::Path::root, Raul::Path::prefix, and Raul:Path::scheme from public API.
Add ability to modify root path from application code (before any paths are created). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2514 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r--src/client/ClientStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index 2b7bb7f7..fd73c4b5 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -177,7 +177,7 @@ ClientStore::object(const Path& path)
SharedPtr<Resource>
ClientStore::resource(const URI& uri)
{
- if (uri.scheme() == Path::scheme && Path::is_valid(uri.str()))
+ if (Path::is_path(uri))
return object(uri.str());
else
return plugin(uri);