]> git.tdb.fi Git - builder.git/blobdiff - source/binarycomponent.h
Add gcc's private library directory to ClangLinker's system path
[builder.git] / source / binarycomponent.h
index 3a6affd18e32c20ddc95f131a04e101aa034bd6d..ef145da49da7b6bdea0649412b6782318641d182 100644 (file)
@@ -22,19 +22,17 @@ public:
        };
 
 private:
-       typedef std::list<const Component *> UseList;
-
        Type type;
-       UseList uses;
+       std::vector<const Component *> uses;
 
 public:
-       BinaryComponent(SourcePackage &, const std::string &, Type);
+       BinaryComponent(SourcePackage &p, const std::string &n, Type t): Component(p, n), type(t) { }
 
        Type get_type() const { return type; }
 
-       virtual void create_build_info();
-       virtual void update_exported_build_info(BuildInfo &) const;
-       virtual void create_targets() const;
+       void create_build_info() override;
+       void update_exported_build_info(BuildInfo &) const override;
+       void create_targets() const override;
 };
 
 #endif