X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftarget.h;h=eda77d00dcd126b1c587768f04af4b8e7b162b2b;hb=7ed7c30ee0ceb734f17fe0c6d4bc6d37fb2ab5a7;hp=0b9d2306fde33f6b35209c5d94dcf08d3af2101b;hpb=4cc08a580ddcdc025d2ca23c336e76c11414d8e0;p=builder.git diff --git a/source/target.h b/source/target.h index 0b9d230..eda77d0 100644 --- a/source/target.h +++ b/source/target.h @@ -42,7 +42,7 @@ protected: const Component *component; std::string name; - const Tool *tool; + Tool *tool; State state; std::string rebuild_reason; @@ -95,7 +95,7 @@ public: the function recursively to find the final target. */ virtual Target *get_real_target() { return this; } - void set_tool(const Tool &); + void set_tool(Tool &); /** Returns the tool used to build the target. To actually build it, call the build() function. */