summaryrefslogtreecommitdiff
path: root/src/task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task.cc')
-rw-r--r--src/task.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/task.cc b/src/task.cc
index fa843c7..eba365f 100644
--- a/src/task.cc
+++ b/src/task.cc
@@ -119,7 +119,7 @@ ctor::target_type Task::targetType() const
return target_type;
}
-Language Task::sourceLanguage() const
+ctor::language Task::sourceLanguage() const
{
return source_language;
}
@@ -133,7 +133,7 @@ std::string Task::compiler() const
{
switch(sourceLanguage())
{
- case Language::C:
+ case ctor::language::c:
switch(outputSystem())
{
case OutputSystem::Host:
@@ -141,7 +141,7 @@ std::string Task::compiler() const
case OutputSystem::Build:
return getConfiguration(cfg::build_cc, "/usr/bin/gcc");
}
- case Language::Cpp:
+ case ctor::language::cpp:
switch(outputSystem())
{
case OutputSystem::Host: