]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trainstatus.cpp
Use std::find to locate block iterators in BlockAllocator
[r2c2.git] / source / libr2c2 / trainstatus.cpp
index 777bc768b410dfda2a50c8014a46639ba98bc5b8..65c17f75418dec7c42296bb05b7686ed7cbf9f01 100644 (file)
@@ -1,11 +1,4 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2011  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
-#include <msp/strings/formatter.h>
+#include <msp/strings/format.h>
 #include "catalogue.h"
 #include "layout.h"
 #include "train.h"
@@ -14,8 +7,6 @@ Distributed under the GPL
 
 using namespace Msp;
 
-#include <msp/io/print.h>
-
 namespace R2C2 {
 
 TrainStatus::TrainStatus(Train &t):
@@ -25,7 +16,7 @@ TrainStatus::TrainStatus(Train &t):
        check();
 }
 
-void TrainStatus::tick(const Time::TimeStamp &, const Time::TimeDelta &)
+void TrainStatus::tick(const Time::TimeDelta &)
 {
        check();
 }