X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrain.h;h=e16f726c5bebf78bbb56b091c82f11739cca1108;hb=3e3675f8d86b06cdea7df197dfe8866ffb285aec;hp=f8f7bfb51159778549b02afed6de47fa38f98b23;hpb=4f2b6023dee412373a6a0b13ba4d617ffbb9bb38;p=r2c2.git diff --git a/source/libr2c2/train.h b/source/libr2c2/train.h index f8f7bfb..e16f726 100644 --- a/source/libr2c2/train.h +++ b/source/libr2c2/train.h @@ -142,7 +142,7 @@ public: bool is_placed() const { return !blocks.empty(); } bool free_block(Block &); void free_noncritical_blocks(); - int get_entry_to_block(Block &) const; + int get_entry_to_block(const Block &) const; float get_reserved_distance() const; void tick(const Msp::Time::TimeStamp &, const Msp::Time::TimeDelta &);