TrackerContext: Remove misleading instance static method.

TrackerContext is not used as singleton, so just remove this misleading
method
This commit is contained in:
Martin Hostettler 2019-04-21 23:29:52 +02:00 committed by Martin Hořeňovský
parent 91b617c462
commit 4a1ca1ab55
3 changed files with 0 additions and 22 deletions

View file

@ -32,11 +32,6 @@ namespace TestCaseTracking {
ITracker::~ITracker() = default;
TrackerContext& TrackerContext::instance() {
static TrackerContext s_instance;
return s_instance;
}
ITracker& TrackerContext::startRun() {
m_rootTracker = std::make_shared<SectionTracker>( NameAndLocation( "{root}", CATCH_INTERNAL_LINEINFO ), *this, nullptr );
m_currentTracker = nullptr;