X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcsourcefile.h;h=da966eb68ae33faae233e0abf344370cfe4a33e2;hb=5e00719d0c63e306786ff36df61797cdbc86f3e9;hp=55809b094c71e3babf04a77f308d6346aeb01d8a;hpb=bde362811368647047f3ca13bdec596f092ecffe;p=builder.git diff --git a/source/csourcefile.h b/source/csourcefile.h index 55809b0..da966eb 100644 --- a/source/csourcefile.h +++ b/source/csourcefile.h @@ -9,18 +9,15 @@ Represents a C or C++ source file. */ class CSourceFile: public SourceFile { -public: - typedef std::list IncludeList; - protected: - IncludeList 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 IncludeList &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;