]> git.tdb.fi Git - r2c2.git/commit
Make Route hold non-const Tracks to match Block
authorMikko Rasa <tdb@tdb.fi>
Fri, 22 Oct 2010 21:08:17 +0000 (21:08 +0000)
committerMikko Rasa <tdb@tdb.fi>
Fri, 22 Oct 2010 21:08:17 +0000 (21:08 +0000)
commitf79b3fd58999a73a4a28663b46fdd96c58167a18
treedd7c15b64166d4415eecfdcf723afc526ebbbdf5
parent2073ac9922720867bdc6871d4a9b4cfcaf6a3b97
Make Route hold non-const Tracks to match Block
Make several functions take non-const parameters to avoid escaping constness:
- Track::get_endpoint_by_link
- Block::get_endpoint_by_link
- Layout3D::get_track
13 files changed:
source/3d/layout.cpp
source/3d/layout.h
source/designer/designer.cpp
source/libmarklin/block.cpp
source/libmarklin/block.h
source/libmarklin/layout.cpp
source/libmarklin/layout.h
source/libmarklin/route.cpp
source/libmarklin/route.h
source/libmarklin/track.cpp
source/libmarklin/track.h
source/libmarklin/train.cpp
source/libmarklin/train.h