]> git.tdb.fi Git - builder.git/commitdiff
ComponentList typedef isn't needed outside of SourcePackage
authorMikko Rasa <tdb@tdb.fi>
Mon, 16 Jul 2012 20:47:37 +0000 (23:47 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 16 Jul 2012 23:30:03 +0000 (02:30 +0300)
source/component.h
source/sourcepackage.h

index 292f140a20cd97f79e101dfabb0cbc6dcd820ebd..5f1332fcb40f8a947dc858b0a2ff0cce0f3d1935 100644 (file)
@@ -78,6 +78,4 @@ protected:
        PathList collect_source_files() const;
 };
 
-typedef std::list<Component> ComponentList;
-
 #endif
index 5b4ffd0474bc8a1e2f79c060e58193edb77cd20d..20461fb6187f6f975ef31881f538d1de74b53527 100644 (file)
@@ -51,6 +51,8 @@ public:
                void tar_file(const std::string &);
        };
 
+       typedef std::list<Component> ComponentList;
+
 private:
        std::string version;
        std::string description;