summaryrefslogtreecommitdiffstats
path: root/src/server/GraphImpl.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-08 17:12:50 +0100
committerDavid Robillard <d@drobilla.net>2019-12-08 20:59:06 +0100
commitecad88d2128f920f5e11cc3ff443d62b225c79d3 (patch)
treec497cebca3455f4201f38d017db0f1566f8004f7 /src/server/GraphImpl.hpp
parent4ca52683ce01f833c552aa62dd80a6a3e48e785c (diff)
downloadingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.gz
ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.bz2
ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.zip
Cleanup: Use "using" instead of "typedef" where appropriate
Diffstat (limited to 'src/server/GraphImpl.hpp')
-rw-r--r--src/server/GraphImpl.hpp10
1 files changed, 6 insertions, 4 deletions
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<true> > Blocks;
+ using Blocks =
+ boost::intrusive::slist<BlockImpl,
+ boost::intrusive::constant_time_size<true>>;
/** 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<true> > PortList;
+ using PortList =
+ boost::intrusive::slist<DuplexPort,
+ boost::intrusive::constant_time_size<true>>;
void add_input(DuplexPort& port) {
ThreadManager::assert_thread(THREAD_PRE_PROCESS);