X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=dummy.cc;h=f22528536c262cb81caa415e945eda9b3809b865;hb=d5b909fd8dd3d0ebc6d1bd107abb5383e2cbeca1;hp=8173717d8d11405e0dd26834880bd4667c5e52d4;hpb=ba46b057f3e2613a86f2dea7fa8022990482c735;p=universe.git diff --git a/dummy.cc b/dummy.cc index 8173717..f225285 100644 --- a/dummy.cc +++ b/dummy.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: dummy.cc,v 1.16 2006-07-21 08:28:27 fleuret Exp $ +// Written and (C) by Francois Fleuret +// Contact for comments & bug reports #include "task.h" #include "universe.h" @@ -22,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; }