UnitFactory now only creates a single instance of each unit and hands out a...
UnitFactory now only creates a single instance of each unit and hands out a pointer to that instance each time the unit is requested. Re #153.
Showing
- Code/Mantid/Kernel/inc/MantidKernel/UnitFactory.h 18 additions, 10 deletionsCode/Mantid/Kernel/inc/MantidKernel/UnitFactory.h
- Code/Mantid/Kernel/src/UnitFactory.cpp 24 additions, 2 deletionsCode/Mantid/Kernel/src/UnitFactory.cpp
- Code/Mantid/Kernel/test/UnitFactoryTest.h 27 additions, 0 deletionsCode/Mantid/Kernel/test/UnitFactoryTest.h
Loading
Please register or sign in to comment