diff --git a/Code/Mantid/Framework/Geometry/src/Instrument/Component.cpp b/Code/Mantid/Framework/Geometry/src/Instrument/Component.cpp index 9a73eb60b3e2..14c744c12186 100644 --- a/Code/Mantid/Framework/Geometry/src/Instrument/Component.cpp +++ b/Code/Mantid/Framework/Geometry/src/Instrument/Component.cpp @@ -103,12 +103,7 @@ namespace Geometry IComponent* Component::clone() const { if (m_isParametrized) { -// IComponent* newComp = m_base->clone(); -// ParameterMap * newPMap = new ParameterMap() ; -// newPMap->copyFromParameterMap(m_base,newComp, m_map); -// std::cout << "**********************: " << newPMap->getString(newComp,"C") << std::endl; -// return new Component(newComp,newPMap); - throw Kernel::Exception::NotImplementedError("Component::clone (for Parametrized Component)"); + throw Kernel::Exception::NotImplementedError("Component::clone (for Parameterized Component)"); } else return new Component(*this); }