Skip to content

Commit

Permalink
Initialise m_currentSortOrder
Browse files Browse the repository at this point in the history
- as reported in catchorg#545
  • Loading branch information
philsquared committed Dec 9, 2015
1 parent 84d1c08 commit 2b688e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/internal/catch_test_case_registry_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 2b688e1

Please sign in to comment.