From 98c906b733dbea5230237d75018630563bce6e95 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 31 Aug 2024 05:54:39 +0200 Subject: [PATCH] Remove unused function --- libs/ardour/ardour/plugin_insert.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h index 0db97ce823..b0d096a296 100644 --- a/libs/ardour/ardour/plugin_insert.h +++ b/libs/ardour/ardour/plugin_insert.h @@ -322,11 +322,7 @@ private: /** details of the match currently being used */ Match _match; - /* ordered map [plugin instance ID] => ARDOUR::ChanMapping - * TODO: consider replacing with boost::flat_map<> or std::vector<>. - * TODO: Remove class and turn it into a type alias when .p(i) method - * becomes completely unused. - */ + /* ordered map [plugin instance ID] => ARDOUR::ChanMapping */ #if defined(_MSC_VER) /* && (_MSC_VER < 1900) * Regarding the note (below) it was initially * thought that this got fixed in VS2015 - but @@ -341,13 +337,7 @@ private: #else class PinMappings : public std::map , PBD::StackAllocator, 4> > #endif - { - public: - [[deprecated]] - inline ARDOUR::ChanMapping const& p (const uint32_t i) const { - return at(i); - } - }; + {}; PinMappings _in_map; PinMappings _out_map;