diff --git a/avogadro/core/residuedata.h b/avogadro/core/residuedata.h index d0653b1372..9e831191bc 100644 --- a/avogadro/core/residuedata.h +++ b/avogadro/core/residuedata.h @@ -25,24 +25,21 @@ class ResidueData : m_residueName(std::move(name)), m_residueAtomNames(std::move(atomNames)), m_residueSingleBonds(std::move(singleBonds)), m_residueDoubleBonds(std::move(doubleBonds)) - { - } + {} ResidueData(const ResidueData& other) : m_residueName(other.m_residueName), m_residueAtomNames(other.m_residueAtomNames), m_residueSingleBonds(other.m_residueSingleBonds), m_residueDoubleBonds(other.m_residueDoubleBonds) - { - } + {} ResidueData(ResidueData&& other) noexcept : m_residueName(std::move(other.m_residueName)), m_residueAtomNames(std::move(other.m_residueAtomNames)), m_residueSingleBonds(std::move(other.m_residueSingleBonds)), m_residueDoubleBonds(std::move(other.m_residueDoubleBonds)) - { - } + {} ResidueData& operator=(ResidueData other) {