Cleanup: Don't use string literals when character literals are needed
This commit is contained in:
@@ -67,7 +67,6 @@ void dependencyGetBlocking (const Task& task, std::vector <Task>& blocking)
|
||||
// Returns true if the supplied task adds a cycle to the dependency chain.
|
||||
bool dependencyIsCircular (const Task& task)
|
||||
{
|
||||
|
||||
// A new task has no UUID assigned yet, and therefore cannot be part of any
|
||||
// dependency chain.
|
||||
if (task.has ("uuid"))
|
||||
@@ -163,7 +162,7 @@ void dependencyChainOnComplete (Task& task)
|
||||
<< "\n";
|
||||
|
||||
for (auto& b : blocking)
|
||||
std::cout << " " << b.id << " " << b.get ("description") << "\n";
|
||||
std::cout << " " << b.id << ' ' << b.get ("description") << "\n";
|
||||
}
|
||||
|
||||
// If there are both blocking and blocked tasks, the chain is broken.
|
||||
@@ -175,7 +174,7 @@ void dependencyChainOnComplete (Task& task)
|
||||
<< "\n";
|
||||
|
||||
for (auto& b : blocked)
|
||||
std::cout << " " << b.id << " " << b.get ("description") << "\n";
|
||||
std::cout << " " << b.id << ' ' << b.get ("description") << "\n";
|
||||
}
|
||||
|
||||
if (!context.config.getBoolean ("dependency.confirmation") ||
|
||||
@@ -218,7 +217,7 @@ void dependencyChainOnStart (Task& task)
|
||||
<< "\n";
|
||||
|
||||
for (auto& b : blocking)
|
||||
std::cout << " " << b.id << " " << b.get ("description") << "\n";
|
||||
std::cout << " " << b.id << ' ' << b.get ("description") << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user