summaryrefslogtreecommitdiff
path: root/src/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/task.h')
-rw-r--r--src/task.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/task.h b/src/task.h
index 92999f6..9e99f25 100644
--- a/src/task.h
+++ b/src/task.h
@@ -24,7 +24,7 @@ enum class State
class Task
{
public:
- Task(const ctor::BuildConfiguration& config, const ctor::settings& settings,
+ Task(const ctor::build_configuration& config, const ctor::settings& settings,
const std::string& sourceDir);
virtual ~Task() = default;
@@ -57,7 +57,7 @@ public:
//! Returns a reference to the originating build config.
//! Note: the build config of a derived task will be that of its parent
//! (target) task.
- const ctor::BuildConfiguration& buildConfig() const;
+ const ctor::build_configuration& buildConfig() const;
ctor::target_type targetType() const;
ctor::language sourceLanguage() const;
@@ -75,7 +75,7 @@ protected:
std::vector<std::string> dependsStr;
std::set<std::shared_ptr<Task>> dependsTasks;
- const ctor::BuildConfiguration& config;
+ const ctor::build_configuration& config;
ctor::target_type target_type{ctor::target_type::automatic};
ctor::language source_language{ctor::language::automatic};
ctor::output_system output_system{ctor::output_system::host};