Remove unused "mark" parameter from stop_touch() API
[ardour.git] / libs / canvas / poly_line.cc
index 5086df76a3f52800b037bb116b106d4812af38c8..99c3377874ada0463461c24bd341cba224031fff 100644 (file)
@@ -35,6 +35,7 @@ PolyLine::PolyLine (Canvas* c)
 PolyLine::PolyLine (Item* parent)
        : PolyItem (parent)
        , _threshold (1.0)
+       , _y1 (0)
 {
 }
 
@@ -43,10 +44,10 @@ PolyLine::compute_bounding_box () const
 {
        PolyItem::compute_bounding_box ();
        if (_y1 > 0 && _bounding_box) {
-               _bounding_box.get().x0 = 0;
-               _bounding_box.get().x1 = COORD_MAX;
-               if (_y1 > _bounding_box.get().y1) {
-                       _bounding_box.get().y1 = _y1;
+               _bounding_box.x0 = 0;
+               _bounding_box.x1 = COORD_MAX;
+               if (_y1 > _bounding_box.y1) {
+                       _bounding_box.y1 = _y1;
                }
        }
 }