Add a missing 'const' qualifier to keep VC2019 happy

This commit is contained in:
John Emmas 2021-03-03 12:25:47 +00:00
parent 7143592e50
commit 73b3ca30bb

View file

@ -351,7 +351,7 @@ SessionPlaylists::update_after_tempo_map_change ()
namespace {
struct id_compare
{
bool operator()(const boost::shared_ptr<Playlist>& p1, const boost::shared_ptr<Playlist>& p2)
bool operator()(const boost::shared_ptr<Playlist>& p1, const boost::shared_ptr<Playlist>& p2) const
{
return p1->id () < p2->id ();
}