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
1 changed files with 4 additions and 1 deletions

View File

@ -87,7 +87,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 ) {