From ecad88d2128f920f5e11cc3ff443d62b225c79d3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Dec 2019 17:12:50 +0100 Subject: Cleanup: Use "using" instead of "typedef" where appropriate --- src/server/GraphImpl.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/server/GraphImpl.hpp') diff --git a/src/server/GraphImpl.hpp b/src/server/GraphImpl.hpp index 73724c3f..846996f3 100644 --- a/src/server/GraphImpl.hpp +++ b/src/server/GraphImpl.hpp @@ -99,8 +99,9 @@ public: // Graph specific stuff not inherited from Block - typedef boost::intrusive::slist< - BlockImpl, boost::intrusive::constant_time_size > Blocks; + using Blocks = + boost::intrusive::slist>; /** Add a block to this graph. * Pre-process thread only. @@ -118,8 +119,9 @@ public: uint32_t num_ports_non_rt() const; bool has_port_with_index(uint32_t index) const; - typedef boost::intrusive::slist< - DuplexPort, boost::intrusive::constant_time_size > PortList; + using PortList = + boost::intrusive::slist>; void add_input(DuplexPort& port) { ThreadManager::assert_thread(THREAD_PRE_PROCESS); -- cgit v1.2.1