X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fdebug%2Ferrorreporter.cpp;fp=source%2Fdebug%2Ferrorreporter.cpp;h=8f080a307c1dbebb64605d73ee92d33685d5d608;hp=d4d51bcc4610a82fc6a28b7d6611f2d68275dd0a;hb=5763dd6e8089c97699cbcbd221afb7fe1841bcdd;hpb=03862ac4f38db0799872850dc4ab43b88688e4eb diff --git a/source/debug/errorreporter.cpp b/source/debug/errorreporter.cpp index d4d51bc..8f080a3 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 = 0; ErrorReporter::ErrorReporter(): - prev(current) + _prev(_current) { - current = this; + _current = this; } ErrorReporter::~ErrorReporter() { - current = prev; + _current = _prev; } } // namespace Debug