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

Remove operator overload due to hiding

parent 2801036b
No related branches found
No related tags found
No related merge requests found
...@@ -77,8 +77,6 @@ public: ...@@ -77,8 +77,6 @@ public:
PointGroup_sptr getPointGroup() const; PointGroup_sptr getPointGroup() const;
Group_const_sptr getSiteSymmetryGroup(const Kernel::V3D &position) const; Group_const_sptr getSiteSymmetryGroup(const Kernel::V3D &position) const;
bool operator==(const SpaceGroup &other) const;
bool operator!=(const SpaceGroup &other) const;
protected: protected:
size_t m_number; size_t m_number;
......
...@@ -114,15 +114,6 @@ Group_const_sptr SpaceGroup::getSiteSymmetryGroup(const V3D &position) const { ...@@ -114,15 +114,6 @@ Group_const_sptr SpaceGroup::getSiteSymmetryGroup(const V3D &position) const {
return GroupFactory::create<Group>(siteSymmetryOps); return GroupFactory::create<Group>(siteSymmetryOps);
} }
bool SpaceGroup::operator==(const SpaceGroup &other) const {
return Group::operator==(other) && this->m_number == other.m_number &&
this->m_hmSymbol == other.hmSymbol();
}
bool SpaceGroup::operator!=(const SpaceGroup &other) const {
return !this->operator==(other);
}
std::ostream &operator<<(std::ostream &stream, const SpaceGroup &self) { std::ostream &operator<<(std::ostream &stream, const SpaceGroup &self) {
stream << "Space group with Hermann-Mauguin symbol: " << self.hmSymbol(); stream << "Space group with Hermann-Mauguin symbol: " << self.hmSymbol();
return stream; return stream;
......
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