Commit 86d8d3c9 authored by Nick Draper's avatar Nick Draper
Browse files

clang formatting for this PR

parent 6c6d959a
......@@ -50,8 +50,8 @@ namespace {
/// Separator for workspace types in workspaceMethodOnTypes member
const std::string WORKSPACE_TYPES_SEPARATOR = ";";
/// The minimum number of seconds after execution that the algorithm should be kept alive
/// before garbage collection
/// The minimum number of seconds after execution that the algorithm should be
/// kept alive before garbage collection
const size_t DELAY_BEFORE_GC = 5;
class WorkspacePropertyValueIs {
......@@ -111,7 +111,7 @@ Algorithm::Algorithm()
m_communicator(std::make_unique<Parallel::Communicator>()) {}
/// Virtual destructor
Algorithm::~Algorithm() {}
Algorithm::~Algorithm() {}
//=============================================================================================
//================================== Simple Getters/Setters
......
......@@ -190,9 +190,9 @@ void AlgorithmManagerImpl::cancelAll() {
/// place
size_t AlgorithmManagerImpl::removeFinishedAlgorithms() {
std::vector<IAlgorithm_const_sptr> theCompletedInstances;
std::copy_if(
m_managed_algs.cbegin(), m_managed_algs.cend(),
std::back_inserter(theCompletedInstances), [](const auto &algorithm) {
std::copy_if(m_managed_algs.cbegin(), m_managed_algs.cend(),
std::back_inserter(theCompletedInstances),
[](const auto &algorithm) {
return (algorithm->isReadyForGarbageCollection());
});
for (auto completedAlg : theCompletedInstances) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment