X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcsourcefile.h;h=da966eb68ae33faae233e0abf344370cfe4a33e2;hb=aa053d637e8259755af7d2e4b510a242f4d29c7b;hp=e585721892d0ae16f793333d70aafacaaa6fa42f;hpb=9f885c3eec8f065b7dc400acfb9dd67158284fcf;p=builder.git diff --git a/source/csourcefile.h b/source/csourcefile.h index e585721..da966eb 100644 --- a/source/csourcefile.h +++ b/source/csourcefile.h @@ -10,14 +10,14 @@ Represents a C or C++ source file. class CSourceFile: public SourceFile { protected: - std::list includes; + std::vector includes; public: CSourceFile(Builder &, const Msp::FS::Path &); CSourceFile(Builder &, const Component &, const Msp::FS::Path &); const char *get_type() const override { return "CSourceFile"; } - const std::list &get_includes() const { return includes; } + const std::vector &get_includes() const { return includes; } protected: virtual void parse_includes(Msp::IO::Base &); void find_dependencies() override;