From f10bfc1bff1dc2792b4905c27dd22c0999162fac Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 11 Jan 2023 18:30:11 +0100 Subject: Rename BuildConfiguration struct to build_configuration --- src/ctor.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ctor.h') diff --git a/src/ctor.h b/src/ctor.h index 3a6adce..c78e92e 100644 --- a/src/ctor.h +++ b/src/ctor.h @@ -73,13 +73,13 @@ struct settings int verbose{0}; // -1: completely silent, 0: normal, 1: verbose, ... }; -struct BuildConfiguration; +struct build_configuration; using GeneratorCb = std::function; -struct BuildConfiguration +struct build_configuration { std::string name; // Name - used for referring in other configurations. ctor::target_type type{ctor::target_type::automatic}; @@ -92,9 +92,9 @@ struct BuildConfiguration GeneratorCb function; }; -using BuildConfigurations = std::vector; +using build_configurations = std::vector; -int reg(BuildConfigurations (*cb)(const ctor::settings&), +int reg(ctor::build_configurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // This type will use flags verbatim -- cgit v1.2.3