diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:30:11 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:30:11 +0100 |
commit | f10bfc1bff1dc2792b4905c27dd22c0999162fac (patch) | |
tree | bacd83a6aa721d1427d84ef50493235fbda5b343 /src/rebuild.cc | |
parent | eb00551f0e990495c6d7533ed193f459cb449665 (diff) |
Rename BuildConfiguration struct to build_configuration
Diffstat (limited to 'src/rebuild.cc')
-rw-r--r-- | src/rebuild.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebuild.cc b/src/rebuild.cc index a1903fe..c766ae4 100644 --- a/src/rebuild.cc +++ b/src/rebuild.cc @@ -23,7 +23,7 @@ std::array<BuildConfigurationEntry, 1024> configFiles; std::size_t numConfigFiles{0}; namespace ctor { -int reg(BuildConfigurations (*cb)(const ctor::settings&), +int reg(ctor::build_configurations (*cb)(const ctor::settings&), const std::source_location location) { // NOTE: std::cout cannot be used here @@ -64,7 +64,7 @@ int reg(const char* location) configFiles[numConfigFiles].file = location; configFiles[numConfigFiles].cb = - [](const ctor::settings&){ return std::vector<BuildConfiguration>{}; }; + [](const ctor::settings&){ return std::vector<ctor::build_configuration>{}; }; ++numConfigFiles; return 0; @@ -159,7 +159,7 @@ bool recompileCheck(const ctor::settings& global_settings, int argc, char* argv[ std::cout << "Recompile check (" << numConfigFiles << "):\n"; } - BuildConfiguration config; + ctor::build_configuration config; config.name = "ctor"; config.system = ctor::output_system::build; |