Index: src/libchcore/ConfigNodeContainer.cpp =================================================================== diff -u -N -r4572f6cddf7dab06b1de99504a6bbd3680d11e6d -r4fe995b304ea342b50293f92d3c1992b43b820f7 --- src/libchcore/ConfigNodeContainer.cpp (.../ConfigNodeContainer.cpp) (revision 4572f6cddf7dab06b1de99504a6bbd3680d11e6d) +++ src/libchcore/ConfigNodeContainer.cpp (.../ConfigNodeContainer.cpp) (revision 4fe995b304ea342b50293f92d3c1992b43b820f7) @@ -205,14 +205,13 @@ { struct PredIsPrefixedWith { - private: - PredIsPrefixedWith& operator=(const PredIsPrefixedWith&); - PredIsPrefixedWith(); - public: PredIsPrefixedWith(PCTSTR pszPrefix, TRemovedObjects& rRemovedObjects) : m_strPrefix(pszPrefix), m_rRemovedObjects(rRemovedObjects) {} PredIsPrefixedWith(const PredIsPrefixedWith& rSrc) : m_strPrefix(rSrc.m_strPrefix), m_rRemovedObjects(rSrc.m_rRemovedObjects) {} + PredIsPrefixedWith() = delete; + PredIsPrefixedWith& operator=(const PredIsPrefixedWith&) = delete; + bool operator()(const ConfigNode& rNode) const { if (rNode.m_strNodeName.Get().StartsWith(m_strPrefix.c_str()))