X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.h;h=6353ab166b27412192c42ec0898b32cc1a3cfdc3;hb=bde362811368647047f3ca13bdec596f092ecffe;hp=6150fadfefa660c287d8f2a850da098489f51893;hpb=338eefb513953ae55e8e3614c009c242ba8ad74e;p=builder.git diff --git a/source/copy.h b/source/copy.h index 6150fad..6353ab1 100644 --- a/source/copy.h +++ b/source/copy.h @@ -6,10 +6,10 @@ #include "internaltask.h" #include "tool.h" -class Install; +class InstalledFile; /** -Copies a file to another place. Used by the Install target. +Copies a file to another place. Used by the InstalledFile target. */ class Copy: public Tool { @@ -20,19 +20,19 @@ private: class Worker: public InternalTask::Worker { private: - const Install ⌖ + const InstalledFile ⌖ public: - Worker(const Install &); + Worker(const InstalledFile &); private: - virtual void main(); + void main() override; }; public: Copy(Builder &); - virtual Target *create_target(const std::list &, const std::string &) const; - virtual Task *run(const Target &) const; + Target *create_target(const std::list &, const std::string &) override; + Task *run(const Target &) const override; }; #endif