]> git.tdb.fi Git - builder.git/blobdiff - source/tool.h
Change Tool's protected constructor to take a pointer to Architecture
[builder.git] / source / tool.h
index ca19c6f17b522cda1565371c60cbc0e97304f3df..5ea63356a4028b0d6afac2dfe0b6be02fce1c65c 100644 (file)
@@ -46,8 +46,6 @@ protected:
        std::vector<std::string> problems;
 
        Tool(Builder &b, const std::string &t): Tool(b, 0, t) { }
-       Tool(Builder &b, const Architecture &a, const std::string &t): Tool(b, &a, t) { }
-private:
        Tool(Builder &b, const Architecture *a, const std::string &t): builder(b), architecture(a), tag(t) { }
 public:
        virtual ~Tool() { }