]> git.tdb.fi Git - builder.git/blobdiff - source/filetarget.h
Inline simple constructors
[builder.git] / source / filetarget.h
index aff1fb7a4081cad3bddb098281389bbe63d9861f..da165d0d39d1ebed128c83c0d31ce4f2a184139c 100644 (file)
@@ -19,8 +19,8 @@ protected:
        bool nested_build_sig = false;
        bool arch_in_build_sig = false;
 
-       FileTarget(Builder &, const Msp::FS::Path &);
-       FileTarget(Builder &, const SourcePackage &, const Msp::FS::Path &);
+       FileTarget(Builder &b, const Msp::FS::Path &a): FileTarget(b, 0, a) { }
+       FileTarget(Builder &b, const SourcePackage &p, const Msp::FS::Path &a): FileTarget(b, &p, a) { }
 private:
        FileTarget(Builder &, const SourcePackage *, const Msp::FS::Path &);
        void stat();