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 /ingen/Store.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 'ingen/Store.hpp')
-rw-r--r-- | ingen/Store.hpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ingen/Store.hpp b/ingen/Store.hpp index cf412ce6..3c92dcc4 100644 --- a/ingen/Store.hpp +++ b/ingen/Store.hpp @@ -47,9 +47,9 @@ public: return (i == end()) ? nullptr : i->second.get(); } - typedef std::pair<const_iterator, const_iterator> const_range; - - typedef std::map< Raul::Path, SPtr<Node> > Objects; + using const_range = std::pair<const_iterator, const_iterator>; + using Objects = std::map<Raul::Path, SPtr<Node>>; + using Mutex = std::recursive_mutex; iterator find_descendants_end(Store::iterator parent); const_iterator find_descendants_end(Store::const_iterator parent) const; @@ -75,8 +75,6 @@ public: const Raul::Symbol& symbol, bool allow_zero=true) const; - typedef std::recursive_mutex Mutex; - Mutex& mutex() { return _mutex; } private: |