]> git.tdb.fi Git - builder.git/blobdiff - source/filetarget.cpp
Unify some aspects of constructor helper functions
[builder.git] / source / filetarget.cpp
index 2a60c2986bac2ec89f1454995f89283fe5d973da..dd20a0e8554d8cb5795af04e1e09b33fa279c2cb 100644 (file)
@@ -10,7 +10,7 @@ using namespace std;
 using namespace Msp;
 
 FileTarget::FileTarget(Builder &b, const Package *p, const FS::Path &a):
-       Target(b, make_name(p, a)),
+       Target(b, generate_name(p, a)),
        path(a),
        size(0)
 {
@@ -62,7 +62,7 @@ void FileTarget::check_rebuild()
                mark_rebuild("Package options changed");
 }
 
-string FileTarget::make_name(const Package *pkg, const FS::Path &pth)
+string FileTarget::generate_name(const Package *pkg, const FS::Path &pth)
 {
        if(const SourcePackage *spkg = dynamic_cast<const SourcePackage *>(pkg))
        {