diff options
Diffstat (limited to 'src/plugins/python/pythonbuildsystem.cpp')
| -rw-r--r-- | src/plugins/python/pythonbuildsystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/pythonbuildsystem.cpp b/src/plugins/python/pythonbuildsystem.cpp index d060e483c9a..8bb311db931 100644 --- a/src/plugins/python/pythonbuildsystem.cpp +++ b/src/plugins/python/pythonbuildsystem.cpp @@ -369,8 +369,8 @@ void PythonBuildSystem::parse() TaskHub::clearTasks(ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM); for (const PyProjectTomlError &error : std::as_const(pyProjectTomlParseResult.errors)) { - TaskHub::addTask( - BuildSystemTask(Task::TaskType::Error, error.description, filePath, error.line)); + TaskHub::addTask<BuildSystemTask>( + Task::TaskType::Error, error.description, filePath, error.line); } if (!pyProjectTomlParseResult.projectName.isEmpty()) { |
