]> git.tdb.fi Git - builder.git/blobdiff - source/filetarget.h
Put constructor helper functions next to the constructors
[builder.git] / source / filetarget.h
index 7d42c91c06e67b7fbe2a97e4bf9b3542f5be810d..22df5206fa6ada3b71af375e3e8f8807904338fc 100644 (file)
@@ -16,6 +16,9 @@ protected:
        unsigned size;
 
        FileTarget(Builder &, const SourcePackage *, const Msp::FS::Path &);
+private:
+       static std::string generate_name(const SourcePackage *, const Msp::FS::Path &);
+
 public:
        const Msp::FS::Path &get_path() const { return path; }
        const Msp::Time::TimeStamp &get_mtime() const { return mtime; }
@@ -28,8 +31,6 @@ public:
 
 protected:
        virtual void check_rebuild();
-private:
-       static std::string generate_name(const SourcePackage *, const Msp::FS::Path &);
 };
 
 #endif