Fix crash when clicking on the canvas while un/loading a session.
[ardour.git] / gtk2_ardour / selection.h
index daa81ab1d694d56c6fc822f1cf41c29d7435d14a..959690b95dc8e909d06bdf70da7d1bb606093a61 100644 (file)
@@ -113,10 +113,10 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
 
        void dump_region_layers();
 
-       bool selected (TimeAxisView*);
-       bool selected (RegionView*);
-       bool selected (ArdourMarker*);
-       bool selected (ControlPoint*);
+       bool selected (TimeAxisView*) const;
+       bool selected (RegionView*) const;
+       bool selected (ArdourMarker*) const;
+       bool selected (ControlPoint*) const;
 
        void set (std::list<Selectable*> const &);
        void add (std::list<Selectable*> const &);