diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/Buffer.hpp | 2 | ||||
-rw-r--r-- | src/server/PortImpl.hpp | 2 |
2 files changed, 2 insertions, 2 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. * diff --git a/src/server/PortImpl.hpp b/src/server/PortImpl.hpp index fa204310..c0d44ef6 100644 --- a/src/server/PortImpl.hpp +++ b/src/server/PortImpl.hpp @@ -266,7 +266,7 @@ public: bool is_toggled() const { return _is_toggled; } protected: - typedef BufferRef (BufferFactory::*GetFn)(LV2_URID, LV2_URID, uint32_t); + using GetFn = BufferRef (BufferFactory::*)(LV2_URID, LV2_URID, uint32_t); /** Set `voices` as the buffers to be used for this port. * |