X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finstall.h;h=41b43828e8a3304e546084d20756e7be33f3f75f;hb=242c55b17e6608b29a77ca17a5b677e202a3ca90;hp=84c2b23ef49cb9189c75fd469ba48cc8a1dcac0d;hpb=77461a8c0e2b5686b04cf15f3a9333b215813992;p=builder.git diff --git a/source/install.h b/source/install.h index 84c2b23..41b4382 100644 --- a/source/install.h +++ b/source/install.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -18,9 +18,9 @@ class Install: public Target { public: Install(Builder &, const SourcePackage &, Target &); - const char *get_type() const { return "Install"; } - void check_rebuild(); + virtual const char *get_type() const { return "Install"; } private: + virtual void check_rebuild(); virtual Action *create_action(); static std::string generate_target_name(const Target &);