summaryrefslogtreecommitdiff
path: root/src/task.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 17:47:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 17:47:30 +0100
commit75d1fa7244b9c5cddae056a281f457dd1e81cfb2 (patch)
tree7a01afcc48a52ec500e0ede5dabaa517c952c7f1 /src/task.h
parent1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 (diff)
Rename TargetType::Xyz to target_type::xyz
Diffstat (limited to 'src/task.h')
-rw-r--r--src/task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/task.h b/src/task.h
index b4f37a5..1d61665 100644
--- a/src/task.h
+++ b/src/task.h
@@ -59,7 +59,7 @@ public:
//! (target) task.
const ctor::BuildConfiguration& buildConfig() const;
- ctor::TargetType targetType() const;
+ ctor::target_type targetType() const;
ctor::Language sourceLanguage() const;
ctor::OutputSystem outputSystem() const;
std::string compiler() const;
@@ -76,7 +76,7 @@ protected:
std::vector<std::string> dependsStr;
std::set<std::shared_ptr<Task>> dependsTasks;
const ctor::BuildConfiguration& config;
- ctor::TargetType target_type{ctor::TargetType::Auto};
+ ctor::target_type target_type{ctor::target_type::automatic};
ctor::Language source_language{ctor::Language::Auto};
ctor::OutputSystem output_system{ctor::OutputSystem::Host};
const ctor::Settings& settings;