diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 17:12:50 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 20:59:06 +0100 |
commit | ecad88d2128f920f5e11cc3ff443d62b225c79d3 (patch) | |
tree | c497cebca3455f4201f38d017db0f1566f8004f7 /src/server/LV2Block.hpp | |
parent | 4ca52683ce01f833c552aa62dd80a6a3e48e785c (diff) | |
download | ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.gz ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.bz2 ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.zip |
Cleanup: Use "using" instead of "typedef" where appropriate
Diffstat (limited to 'src/server/LV2Block.hpp')
-rw-r--r-- | src/server/LV2Block.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp index e10775a0..07c04321 100644 --- a/src/server/LV2Block.hpp +++ b/src/server/LV2Block.hpp @@ -110,7 +110,7 @@ protected: return (LilvInstance*)(*_instances)[voice]->instance; } - typedef Raul::Array< SPtr<Instance> > Instances; + using Instances = Raul::Array<SPtr<Instance>>; void drop_instances(const MPtr<Instances>& instances) { if (instances) { @@ -139,10 +139,10 @@ protected: void* const data; }; - typedef boost::intrusive::slist<Response, - boost::intrusive::cache_last<true>, - boost::intrusive::constant_time_size<false> - > Responses; + using Responses = boost::intrusive::slist< + Response, + boost::intrusive::cache_last<true>, + boost::intrusive::constant_time_size<false>>; static LV2_Worker_Status work_respond( LV2_Worker_Respond_Handle handle, uint32_t size, const void* data); |