Skip to content

Commit

Permalink
Refs #5827 compile only the virtual base class
Browse files Browse the repository at this point in the history
  • Loading branch information
jmborr committed Aug 31, 2012
1 parent 8d07f04 commit 8f9fc4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/API/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ set ( INC_FILES
# inc/MantidAPI/BoxCtrlChangesInterface.h
# inc/MantidAPI/GridDomain.h
# inc/MantidAPI/GridDomain1D.h
# inc/MantidAPI/ITransformScale.h
inc/MantidAPI/ITransformScale.h
# inc/MantidAPI/TransformScaleFactory.h
# inc/MantidAPI/LinearScale.h
# inc/MantidAPI/LogarithmScale.h
Expand Down
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/API/inc/MantidAPI/ITransformScale.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ typedef boost::shared_ptr<ITransformScale> ITransformScale_sptr;
} // namespace API
} // namespace Mantid

/*
#define DECLARE_TRANSFORMSCALE(classname) \
namespace { \
Mantid::Kernel::RegistrationHelper register_trs_##classname( \
((Mantid::API::TransformScaleFactory::Instance().subscribe<classname>(#classname)) \
, 0)); \
}

*/

#endif /*MANTID_API_ITRANSFORMSCALE_H_*/
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/API/inc/MantidAPI/LinearScale.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace API
Code Documentation is available at: <http://doxygen.mantidproject.org>.
*/

class MANTID_API_DLL LinearScale : public ITransformScale
class MANTID_API_DLL LinearScale : public API::ITransformScale
{
public:
LinearScale();
Expand Down

0 comments on commit 8f9fc4e

Please sign in to comment.