summaryrefslogtreecommitdiffstats
path: root/src/server/Buffer.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 /src/server/Buffer.hpp
parent68eff78932e559cd4b71f0bc98276dec49f26b27 (diff)
downloadingen-4eaf43a21b1041d98c001c38608d7e80dda293a9.tar.gz
ingen-4eaf43a21b1041d98c001c38608d7e80dda293a9.tar.bz2
ingen-4eaf43a21b1041d98c001c38608d7e80dda293a9.zip
Use "using" over "typedef"
Diffstat (limited to 'src/server/Buffer.hpp')
-rw-r--r--src/server/Buffer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Buffer.hpp b/src/server/Buffer.hpp
index 3e7eb753..57db16dd 100644
--- a/src/server/Buffer.hpp
+++ b/src/server/Buffer.hpp
@@ -69,7 +69,7 @@ public:
return is_audio() ? _capacity : sizeof(LV2_Atom) + get<LV2_Atom>()->size;
}
- typedef BufferRef (BufferFactory::*GetFn)(LV2_URID, LV2_URID, uint32_t);
+ using GetFn = BufferRef (BufferFactory::*)(LV2_URID, LV2_URID, uint32_t);
/** Set the buffer type and optional value type for this buffer.
*