summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 8797bb3e..7834c3df 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -312,10 +312,10 @@ World::run_module(const char* name)
/** Get an interface for a remote engine at `engine_uri`
*/
SPtr<Interface>
-World::new_interface(const Raul::URI& engine_uri,
- SPtr<Interface> respondee)
+World::new_interface(const URI& engine_uri, SPtr<Interface> respondee)
{
- const Impl::InterfaceFactories::const_iterator i = _impl->interface_factories.find(engine_uri.scheme());
+ const Impl::InterfaceFactories::const_iterator i =
+ _impl->interface_factories.find(std::string(engine_uri.scheme()));
if (i == _impl->interface_factories.end()) {
log().warn(fmt("Unknown URI scheme `%1%'\n") % engine_uri.scheme());
return SPtr<Interface>();