]> git.tdb.fi Git - builder.git/blobdiff - source/installedfile.cpp
Refactor FileTarget and SourceFile constructors
[builder.git] / source / installedfile.cpp
index 3ca490602055d18ef83cef933ea4605718e2c6c8..0928386c092c24f6dba4b7d1f0c7999d385c41c7 100644 (file)
@@ -7,7 +7,7 @@ using namespace std;
 using namespace Msp;
 
 InstalledFile::InstalledFile(Builder &b, const SourcePackage &p, FileTarget &s, const string &loc):
-       FileTarget(b, &p, generate_target_path(b.get_prefix(), s, loc)),
+       FileTarget(b, p, generate_target_path(b.get_prefix(), s, loc)),
        source(s)
 {
        add_depend(&source);