Skip to content

Commit

Permalink
Revert "Re #8717 Cleanup commented code."
Browse files Browse the repository at this point in the history
This reverts commit e2f37c6.
  • Loading branch information
Ricardo Leal committed Jan 21, 2014
1 parent e2f37c6 commit 60eb29e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Code/Mantid/Framework/Geometry/src/Instrument/Component.cpp
Expand Up @@ -103,7 +103,12 @@ namespace Geometry
IComponent* Component::clone() const
{
if (m_isParametrized) {
throw Kernel::Exception::NotImplementedError("Component::clone (for Parameterized Component)");
// 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)");
} else
return new Component(*this);
}
Expand Down

0 comments on commit 60eb29e

Please sign in to comment.