diff --git a/Framework/API/src/Sample.cpp b/Framework/API/src/Sample.cpp index a9c2b47be06137311506367e807a8f900b581abf..fb301a0b13eb2637338cd2db0b3cdb702353bfd8 100644 --- a/Framework/API/src/Sample.cpp +++ b/Framework/API/src/Sample.cpp @@ -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 && diff --git a/Framework/Kernel/src/PropertyManager.cpp b/Framework/Kernel/src/PropertyManager.cpp index 72e08854f18b810c0332d4c8274997fb62eb986d..17a51367f32ff456ab353ab49260062566587a2f 100644 --- a/Framework/Kernel/src/PropertyManager.cpp +++ b/Framework/Kernel/src/PropertyManager.cpp @@ -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)