summaryrefslogtreecommitdiff
path: root/src/configure.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 19:26:26 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 19:26:26 +0100
commit648c89e879f739f82ed6dba7df7243e54b98601f (patch)
tree626756d852fdff35235e1814a63c3daa29403ea3 /src/configure.cc
parentf10bfc1bff1dc2792b4905c27dd22c0999162fac (diff)
Rename ExternalX structs to external_x
Diffstat (limited to 'src/configure.cc')
-rw-r--r--src/configure.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configure.cc b/src/configure.cc
index 40f4d27..129fa42 100644
--- a/src/configure.cc
+++ b/src/configure.cc
@@ -280,7 +280,7 @@ int regenerateCache(ctor::settings& settings,
});
// Resolv externals
- ExternalConfigurations externalConfigs;
+ ctor::external_configurations externalConfigs;
for(std::size_t i = 0; i < numExternalConfigFiles; ++i)
{
auto newExternalConfigs = externalConfigFiles[i].cb(settings);
@@ -312,7 +312,7 @@ int regenerateCache(ctor::settings& settings,
std::visit([&](auto&& arg)
{
using T = std::decay_t<decltype(arg)>;
- if constexpr (std::is_same_v<T, ExternalManual>)
+ if constexpr (std::is_same_v<T, ctor::external_manual>)
{
add_path_args(ext.name);
}
@@ -470,10 +470,10 @@ int regenerateCache(ctor::settings& settings,
{
istr << " { \"" << ext.name << "\", {\n";
ctor::flags resolved_flags;
- if(std::holds_alternative<ExternalManual>(ext.external))
+ if(std::holds_alternative<ctor::external_manual>(ext.external))
{
if(auto ret = resolv(settings, ext,
- std::get<ExternalManual>(ext.external),
+ std::get<ctor::external_manual>(ext.external),
resolved_flags))
{
return ret;