diff options
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/World.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ingen/World.hpp b/ingen/World.hpp index b5fc7350..e06c0a18 100644 --- a/ingen/World.hpp +++ b/ingen/World.hpp @@ -26,7 +26,7 @@ #include <mutex> #include <string> -typedef struct LilvWorldImpl LilvWorld; +using LilvWorld = struct LilvWorldImpl; namespace Sord { class World; } @@ -89,10 +89,10 @@ public: virtual bool run_module(const char* name); /** A function to create a new remote Interface. */ - typedef SPtr<Interface> (*InterfaceFactory)( - World& world, - const URI& engine_uri, - const SPtr<Interface>& respondee); + using InterfaceFactory = + SPtr<Interface> (*)(World& world, + const URI& engine_uri, + const SPtr<Interface>& respondee); /** Register an InterfaceFactory (for module implementations). */ virtual void add_interface_factory(const std::string& scheme, |