summaryrefslogtreecommitdiffstats
path: root/ingen/World.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 21:43:55 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commit4eaf43a21b1041d98c001c38608d7e80dda293a9 (patch)
tree1cbdfa113e98cc29e3e13b57cdf41368f5e2aaa2 /ingen/World.hpp
parent68eff78932e559cd4b71f0bc98276dec49f26b27 (diff)
downloadingen-4eaf43a21b1041d98c001c38608d7e80dda293a9.tar.gz
ingen-4eaf43a21b1041d98c001c38608d7e80dda293a9.tar.bz2
ingen-4eaf43a21b1041d98c001c38608d7e80dda293a9.zip
Use "using" over "typedef"
Diffstat (limited to 'ingen/World.hpp')
-rw-r--r--ingen/World.hpp10
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,