Initialise m_currentSortOrder

- as reported in #545
This commit is contained in:
Phil Nash 2015-12-09 06:15:52 +00:00
parent 84d1c080d6
commit 2b688e1cef

View File

@ -87,7 +87,10 @@ namespace Catch {
class TestRegistry : public ITestCaseRegistry { class TestRegistry : public ITestCaseRegistry {
public: public:
TestRegistry() : m_unnamedCount( 0 ) {} TestRegistry()
: m_currentSortOrder( RunTests::InDeclarationOrder ),
m_unnamedCount( 0 )
{}
virtual ~TestRegistry(); virtual ~TestRegistry();
virtual void registerTest( TestCase const& testCase ) { virtual void registerTest( TestCase const& testCase ) {