diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 21:43:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | 4eaf43a21b1041d98c001c38608d7e80dda293a9 (patch) | |
tree | 1cbdfa113e98cc29e3e13b57cdf41368f5e2aaa2 /ingen | |
parent | 68eff78932e559cd4b71f0bc98276dec49f26b27 (diff) | |
download | ingen-4eaf43a21b1041d98c001c38608d7e80dda293a9.tar.gz ingen-4eaf43a21b1041d98c001c38608d7e80dda293a9.tar.bz2 ingen-4eaf43a21b1041d98c001c38608d7e80dda293a9.zip |
Use "using" over "typedef"
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, |