summaryrefslogtreecommitdiff
path: root/src/task.h
diff options
context:
space:
mode:
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;