X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=inline;f=move_square.cc;h=5aed572d766a630d763eee9b3020b9cbc21f3b2c;hb=53885334edba4b9d3c4ee6d10fbfdd7e8a30d73b;hp=1722be846ab2f9ea7658eef2a53375b26f407290;hpb=ba46b057f3e2613a86f2dea7fa8022990482c735;p=universe.git diff --git a/move_square.cc b/move_square.cc index 1722be8..5aed572 100644 --- a/move_square.cc +++ b/move_square.cc @@ -1,19 +1,6 @@ -//////////////////////////////////////////////////////////////////////////////// -// This program is free software; you can redistribute it and/or // -// modify it under the terms of the GNU General Public License // -// version 2 as published by the Free Software Foundation. // -// // -// This program is distributed in the hope that it will be useful, but // -// WITHOUT ANY WARRANTY; without even the implied warranty of // -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // -// General Public License for more details. // -// // -// Written and (C) by François Fleuret // -// Contact for comments & bug reports // -//////////////////////////////////////////////////////////////////////////////// - -// $Id: move_square.cc,v 1.16 2006-07-21 08:44:16 fleuret Exp $ +// Written and (C) by Francois Fleuret +// Contact for comments & bug reports #include "task.h" #include "universe.h" @@ -29,7 +16,7 @@ class MoveSquare : public Task { public: - virtual char *name() { return "MOVE_SQUARE"; } + virtual const char *name() { return "MOVE_SQUARE"; } virtual int nb_degrees() { return 5; }