More fixes

This commit is contained in:
2023-08-13 20:15:53 +02:00
parent a9794b13bd
commit cca17b7ded
11 changed files with 36 additions and 36 deletions

View File

@@ -123,7 +123,7 @@ std::expected<bool, std::string> checkInitializedByName(const std::string& name)
if (schedulerTask.name() == name)
return schedulerTask.isInitialized();
}
return tl::make_unexpected("Task not found: " + std::string{name});
return std::unexpected("Task not found: " + std::string{name});
}
bool checkEnabledByName(const std::string& name) {