From db6c4499ecc23212838f45fc9fa8c0a703d8b85f Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 22 Feb 2026 16:25:42 +0100 Subject: Use ctor::sources instead of std::vector --- src/ctor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ctor.h b/src/ctor.h index 8a7c809..182f97a 100644 --- a/src/ctor.h +++ b/src/ctor.h @@ -119,6 +119,8 @@ struct source ctor::source_type source_type{ctor::source_type::regular}; }; +using sources = std::vector; + enum class cxx_opt { // gcc/clang @@ -342,8 +344,6 @@ struct target std::string target; }; -using sources = std::vector; - struct depends { std::vector depends; @@ -440,7 +440,7 @@ struct build_configuration ctor::target_type type{ctor::target_type::automatic}; ctor::output_system system{ctor::output_system::build}; std::string target; // Output target file for this configuration - std::vector sources; // source list + ctor::sources sources; // source list std::vector depends; // internal target dependencies ctor::flags flags; std::vector externals; // externals used by this configuration -- cgit v1.2.3