diff --git a/libs/ardour/ardour/chan_mapping.h b/libs/ardour/ardour/chan_mapping.h index 64ffc32890..07b623f8e1 100644 --- a/libs/ardour/ardour/chan_mapping.h +++ b/libs/ardour/ardour/chan_mapping.h @@ -106,8 +106,8 @@ public: typedef std::map TypeMapping; typedef std::map Mappings; - Mappings mappings() { return _mappings; } - const Mappings mappings() const { return _mappings; } + Mappings mappings() { return _mappings; } + const Mappings& mappings() const { return _mappings; } bool operator==(const ChanMapping& other) const { return (_mappings == other._mappings);