namespace Msp {
namespace Debug {
-ErrorReporter *ErrorReporter::_current = 0;
+ErrorReporter *ErrorReporter::_current = nullptr;
ErrorReporter::ErrorReporter():
_prev(_current)
_current = _prev;
}
+const ErrorReporter *ErrorReporter::get_current()
+{
+ return _current;
+}
+
} // namespace Debug
} // namespace Msp