X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fdebug%2Ferrorreporter.cpp;h=edfa0026d58a6b92c08f43c5138a3ccc4aca610f;hb=41363aed34382386f915f17c1a961750b4fdcb14;hp=d4d51bcc4610a82fc6a28b7d6611f2d68275dd0a;hpb=f042fd992170ee8a50a7f596f1c9cdd9600b8583;p=libs%2Fcore.git diff --git a/source/debug/errorreporter.cpp b/source/debug/errorreporter.cpp index d4d51bc..edfa002 100644 --- a/source/debug/errorreporter.cpp +++ b/source/debug/errorreporter.cpp @@ -3,17 +3,17 @@ namespace Msp { namespace Debug { -ErrorReporter *ErrorReporter::current = 0; +ErrorReporter *ErrorReporter::_current = nullptr; ErrorReporter::ErrorReporter(): - prev(current) + _prev(_current) { - current = this; + _current = this; } ErrorReporter::~ErrorReporter() { - current = prev; + _current = _prev; } } // namespace Debug