diff options
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: |