]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.h
Convert all list containers to vectors
[builder.git] / source / sourcepackage.h
index fce58a659fdd925f5b18411ff06035890d6797ca..23e8f36320aaf5de5393bffb9ef5ab3268c7ee06 100644 (file)
@@ -46,11 +46,7 @@ public:
                void version(const std::string &);
        };
 
-       typedef std::list<Component *> ComponentList;
-
 private:
-       typedef std::list<Feature> FeatureList;
-
        std::string version;
        std::string interface_version;
        std::string description;
@@ -59,9 +55,9 @@ private:
        Msp::FS::Path source_dir;
        const BuildType *build_type;
        Toolchain local_tools;
-       FeatureList features;
+       std::vector<Feature> features;
        BuildInfo build_info;
-       ComponentList components;
+       std::vector<Component *> components;
        SourceArchiveComponent *source_archive;
        Config config;
        mutable Cache cache;