X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.h;h=018b3de8e6cac0b0df823403353a13568a40284b;hb=f1c967215e6b08095bdf07518472beca3067ec37;hp=ade21dd2b446e9c06d5afd13f7a72cf8bb518154;hpb=683301f94f4a3c5b7e2a7f21087f4185b07c4858;p=builder.git diff --git a/source/copy.h b/source/copy.h index ade21dd..018b3de 100644 --- a/source/copy.h +++ b/source/copy.h @@ -12,6 +12,7 @@ class Copy: public Action public: Copy(Builder &, const Package &, const Msp::Path::Path &, const Msp::Path::Path &); int check(); + ~Copy(); private: class Worker: public Msp::Thread { @@ -29,7 +30,7 @@ private: Msp::Path::Path src; Msp::Path::Path dest; - Worker worker; + Worker *worker; }; #endif