From eb00551f0e990495c6d7533ed193f459cb449665 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 11 Jan 2023 18:19:07 +0100 Subject: Rename Settings struct to setings --- src/ctor.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ctor.h') diff --git a/src/ctor.h b/src/ctor.h index 30a563c..3a6adce 100644 --- a/src/ctor.h +++ b/src/ctor.h @@ -66,7 +66,7 @@ struct flags std::vector asmflags; // flags for asm translator }; -struct Settings +struct settings { std::string builddir{"build"}; std::size_t parallel_processes{1}; @@ -77,7 +77,7 @@ struct BuildConfiguration; using GeneratorCb = std::function; + const ctor::settings& settings)>; struct BuildConfiguration { @@ -94,7 +94,7 @@ struct BuildConfiguration using BuildConfigurations = std::vector; -int reg(BuildConfigurations (*cb)(const Settings&), +int reg(BuildConfigurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // This type will use flags verbatim @@ -113,7 +113,7 @@ struct ExternalConfiguration using ExternalConfigurations = std::vector; -int reg(ExternalConfigurations (*cb)(const Settings&), +int reg(ExternalConfigurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // Convenience macro - ugly but keeps things simple(r) -- cgit v1.2.3