X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=dummy.cc;h=f22528536c262cb81caa415e945eda9b3809b865;hb=3e51d77116e49ba279a6cbbf1dbbc893c4117eb4;hp=73a06f38cc6520c33e96d781fa4890f79ebe1d1a;hpb=5c68b9412710739cc0562ab296a9c8af13e9e71c;p=universe.git diff --git a/dummy.cc b/dummy.cc index 73a06f3..f225285 100644 --- a/dummy.cc +++ b/dummy.cc @@ -1,17 +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 // -//////////////////////////////////////////////////////////////////////////////// +// Written and (C) by Francois Fleuret +// Contact for comments & bug reports #include "task.h" #include "universe.h" @@ -20,7 +9,7 @@ class Dummy : public Task { public: - virtual char *name() { return "DUMMY"; } + virtual const char *name() { return "DUMMY"; } virtual int nb_degrees() { return 1; }