]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/route.cpp
Make use of the unified storage class for other parts of Layout
[r2c2.git] / source / libr2c2 / route.cpp
index a01b80b3b183be4a8591568e18ad9deaf4a538d1..ffb420adabfa9cbd7911dad2e525e7a0a0b22afb 100644 (file)
@@ -132,12 +132,12 @@ Route::Route(Layout &l):
        TrackChain(l),
        temporary(false)
 {
-       layout.add_route(*this);
+       layout.add(*this);
 }
 
 Route::~Route()
 {
-       layout.remove_route(*this);
+       layout.remove(*this);
 }
 
 void Route::set_name(const string &n)