Skip to content
Snippets Groups Projects
Commit 2801036b authored by Owen Arnold's avatar Owen Arnold
Browse files

clang-formatting fixes

parent 0b8fab94
No related branches found
No related tags found
No related merge requests found
......@@ -439,7 +439,6 @@ bool Sample::operator==(const Sample &other) const {
return call_on(a) == call_on(b);
else
return true;
};
return *m_lattice == *other.m_lattice && this->m_name == other.m_name &&
this->m_height == other.m_height && this->m_width == other.m_width &&
......
......@@ -586,7 +586,7 @@ std::string PropertyManager::asString(bool withDefaultValues) const {
bool PropertyManager::operator==(const PropertyManager &other) const {
if (other.m_properties.size() != m_properties.size())
return false;
for (const auto & [ key, value ] : m_properties) {
for (const auto &[key, value] : m_properties) {
if (other.m_properties.count(key) != 1)
return false;
if (*other.m_properties.at(key) != *value)
......
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