]> git.tdb.fi Git - builder.git/blobdiff - source/tool.cpp
Remove some useless member functions
[builder.git] / source / tool.cpp
index 1ab3660474cf57de3a31bcf47df6231370beff5e..cefbb8c3b0188c58d525b87def1a5b694f3a40df 100644 (file)
@@ -5,7 +5,16 @@ using namespace std;
 
 Tool::Tool(Builder &b, const string &t):
        builder(b),
-       tag(t)
+       architecture(0),
+       tag(t),
+       executable(0)
+{ }
+
+Tool::Tool(Builder &b, const Architecture &a, const string &t):
+       builder(b),
+       architecture(&a),
+       tag(t),
+       executable(0)
 { }
 
 bool Tool::accepts_suffix(const string &suffix, bool aux) const