Initialise m_currentSortOrder

- as reported in #545
This commit is contained in:
Phil Nash 2015-12-09 06:15:52 +00:00
parent 693355cc75
commit 8fa41d96c7

View File

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