]> git.tdb.fi Git - builder.git/blobdiff - source/target.cpp
Move the Component reference to Target and make it a pointer
[builder.git] / source / target.cpp
index 7c6141df7403b1978ccd32f8fdfa6ce911c10f74..c43ad99ea8361cb71934f3fb57a5f4dce27e23ff 100644 (file)
 using namespace std;
 using namespace Msp;
 
-Target::Target(Builder &b, const Package *p, const string &n):
+Target::Target(Builder &b, const string &n):
        builder(b),
-       package(p),
+       package(0),
+       component(0),
        name(n),
        tool(0),
        state(INIT),