X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.cpp;h=24be942532b83ab52a0dcfdeb8446ad29d708edf;hb=9e28243c9687608ec3c32954b4031490296ae877;hp=75d047df7ef50c6371835f456a747f2c34b6121a;hpb=fa2beaa15ccc64956b12d6d81d95a11538748327;p=builder.git diff --git a/source/copy.cpp b/source/copy.cpp index 75d047d..24be942 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -16,7 +16,7 @@ Copy::Copy(Builder &b): Tool(b, "CP") { } -Target *Copy::create_target(const list &sources, const string &arg) const +Target *Copy::create_target(const list &sources, const string &arg) { FileTarget &file_tgt = dynamic_cast(*sources.front()); InstalledFile *inst = new InstalledFile(builder, *file_tgt.get_package(), file_tgt, arg);