]> git.tdb.fi Git - libs/core.git/blob - source/debug/errorreporter.cpp
8f080a307c1dbebb64605d73ee92d33685d5d608
[libs/core.git] / source / debug / errorreporter.cpp
1 #include "errorreporter.h"
2
3 namespace Msp {
4 namespace Debug {
5
6 ErrorReporter *ErrorReporter::_current = 0;
7
8 ErrorReporter::ErrorReporter():
9         _prev(_current)
10 {
11         _current = this;
12 }
13
14 ErrorReporter::~ErrorReporter()
15 {
16         _current = _prev;
17 }
18
19 } // namespace Debug
20 } // namespace Msp