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 --- ingen/Store.hpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'ingen/Store.hpp') 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_range; - - typedef std::map< Raul::Path, SPtr > Objects; + using const_range = std::pair; + using Objects = std::map>; + 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: -- cgit v1.2.1