X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fblock.cpp;h=94be126c77d088c1b44ba63303a99253a0338957;hb=3df8cb5c78fbb0b919bcb79677c6c788b8028482;hp=03cb2dc3fa60c259f64590ed015a58f789c11c0f;hpb=80e10207bee4d774f3015a5e946d463d2c828029;p=r2c2.git diff --git a/source/libmarklin/block.cpp b/source/libmarklin/block.cpp index 03cb2dc..94be126 100644 --- a/source/libmarklin/block.cpp +++ b/source/libmarklin/block.cpp @@ -5,16 +5,15 @@ Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ +#include #include "control.h" #include "block.h" #include "tracktype.h" #include "trafficmanager.h" #include "turnout.h" -using namespace Msp; - -#include using namespace std; +using namespace Msp; namespace Marklin { @@ -135,10 +134,6 @@ bool Block::reserve(const Train *t) if(!t || !train) { train=t; - if(train) - cout<<"Block "<get_name()<<'\n'; - else - cout<<"Block "<