]> git.tdb.fi Git - libs/core.git/blob - source/debug/errorreporter.cpp
Add move semantics to Variant
[libs/core.git] / source / debug / errorreporter.cpp
1 #include "errorreporter.h"
2
3 namespace Msp {
4 namespace Debug {
5
6 ErrorReporter *ErrorReporter::_current = nullptr;
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