mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Make Stripable::Sorter::_mixer_order const
This is not required by C++17, but it is rather clear that this field should not be changed after initialization.
This commit is contained in:
parent
5ac2e6b8a8
commit
34fe8c46e9
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class LIBARDOUR_API Stripable : public SessionObject,
|
|||
|
||||
struct LIBARDOUR_API Sorter
|
||||
{
|
||||
bool _mixer_order; // master is last
|
||||
const bool _mixer_order; // master is last
|
||||
Sorter (bool mixer_order = false) : _mixer_order (mixer_order) {}
|
||||
bool operator() (std::shared_ptr<ARDOUR::Stripable> a, std::shared_ptr<ARDOUR::Stripable> b) const;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue