X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.h;h=f9d8b24b4ef25268e28ff8e2637c4e0421e28ecf;hb=666bf60f80a3f220a112c2a97ed00b72871924d3;hp=f4a4efc9a262ee55cf145f56fe5a4fc1d7602d99;hpb=0368a9c1972ff5fd6cd8984901ff0bdbd86afc9f;p=builder.git diff --git a/source/target.h b/source/target.h index f4a4efc..f9d8b24 100644 --- a/source/target.h +++ b/source/target.h @@ -91,7 +91,7 @@ public: /** Adds a dependency for the target. Order is preseved and is important for some target types. It is an error to create dependency cycles, although this won't be detected until the targets are prepared. */ - void add_depend(Target *); + void add_depend(Target &); /// Returns the dependencies of the target, in the order they were added. const Dependencies &get_depends() const { return depends; }