mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Turn PinMappings class into a type alias
This commit is contained in:
parent
da0e6c7d60
commit
e48d97ed69
1 changed files with 2 additions and 3 deletions
|
|
@ -333,11 +333,10 @@ private:
|
||||||
* which is known to be troublesome with Visual C++ :-
|
* which is known to be troublesome with Visual C++ :-
|
||||||
* https://www.boost.org/doc/libs/1_65_0/libs/type_traits/doc/html/boost_typetraits/reference/aligned_storage.html
|
* https://www.boost.org/doc/libs/1_65_0/libs/type_traits/doc/html/boost_typetraits/reference/aligned_storage.html
|
||||||
*/
|
*/
|
||||||
class PinMappings : public std::map <uint32_t, ARDOUR::ChanMapping>
|
typedef std::map <uint32_t, ARDOUR::ChanMapping> PinMappings;
|
||||||
#else
|
#else
|
||||||
class PinMappings : public std::map <uint32_t, ARDOUR::ChanMapping, std::less<uint32_t>, PBD::StackAllocator<std::pair<const uint32_t, ARDOUR::ChanMapping>, 4> >
|
typedef std::map <uint32_t, ARDOUR::ChanMapping, std::less<uint32_t>, PBD::StackAllocator<std::pair<const uint32_t, ARDOUR::ChanMapping>, 4> > PinMappings;
|
||||||
#endif
|
#endif
|
||||||
{};
|
|
||||||
|
|
||||||
PinMappings _in_map;
|
PinMappings _in_map;
|
||||||
PinMappings _out_map;
|
PinMappings _out_map;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue