Skip to content
Snippets Groups Projects
Commit 7ed19312 authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Fix code format

parent 3949107a
No related branches found
No related tags found
1 merge request!346Resolve "Frame/Capture/Feature/Landmark Other as list/vectors in FactorBase"
Pipeline #5061 passed
This commit is part of merge request !346. Comments created here will be created in the context of that merge request.
......@@ -17,11 +17,11 @@ class CheckLog
is_consistent_ = true;
explanation_ = "";
}
CheckLog(bool consistent, std::string explanation)
CheckLog(bool _consistent, std::string _explanation)
{
is_consistent_ = consistent;
if (not consistent)
explanation_ = explanation;
is_consistent_ = _consistent;
if (not _consistent)
explanation_ = _explanation;
else
explanation_ = "";
}
......@@ -31,12 +31,12 @@ class CheckLog
is_consistent_ = is_consistent_ and l.is_consistent_;
explanation_ = explanation_ + l.explanation_;
}
void addAssertion(bool condition, std::stringstream& stream)
void addAssertion(bool _condition, std::stringstream& _stream)
{
auto cl = CheckLog(condition, stream.str());
auto cl = CheckLog(_condition, _stream.str());
this->compose(cl);
// Clear inconsistency_explanation
std::stringstream().swap(stream);
std::stringstream().swap(_stream);
}
};
} // namespace wolf
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment