]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/zone.cpp
Make use of the unified storage class for other parts of Layout
[r2c2.git] / source / libr2c2 / zone.cpp
index 00edb5799f6d4d9b49f481f7d7ef3f76113666ce..23b0ac9f093f3962507473f6258c082d3bb3245a 100644 (file)
@@ -13,12 +13,12 @@ Zone::Zone(Layout &l):
        TrackChain(l),
        number(0)
 {
-       layout.add_zone(*this);
+       layout.add(*this);
 }
 
 Zone::~Zone()
 {
-       layout.remove_zone(*this);
+       layout.remove(*this);
 }
 
 void Zone::set_name(const string &g, const string &q, unsigned n)