Refs #22608 - Fix Windows warnings.
Included moving a TS_ASSERT out of a destructor in a mock object, which would have been harmless. I couldn't use noexcept(false) as a workaround because of the parent destructor. The resulting code is much messier as I have to keep ahold of the mock object and call the assert in each of the tests... :(
Showing
- Framework/Catalog/inc/MantidCatalog/ONCat.h 3 additions, 3 deletionsFramework/Catalog/inc/MantidCatalog/ONCat.h
- Framework/Catalog/src/ONCat.cpp 2 additions, 2 deletionsFramework/Catalog/src/ONCat.cpp
- Framework/Catalog/src/ONCatEntity.cpp 2 additions, 2 deletionsFramework/Catalog/src/ONCatEntity.cpp
- Framework/Catalog/test/ONCatTest.h 75 additions, 30 deletionsFramework/Catalog/test/ONCatTest.h
Loading
Please register or sign in to comment