X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fdebug%2Ferrorreporter.h;h=9a60f85c0f41b8bbdc4244734302e0c47fabe1c3;hp=dca8f522ebeddf0113a74efa754c91f7026d7cff;hb=HEAD;hpb=5763dd6e8089c97699cbcbd221afb7fe1841bcdd diff --git a/source/debug/errorreporter.h b/source/debug/errorreporter.h index dca8f52..b702b7c 100644 --- a/source/debug/errorreporter.h +++ b/source/debug/errorreporter.h @@ -2,15 +2,16 @@ #define MSP_DEBUG_ERRORREPORTER_H_ #include +#include #include namespace Msp { namespace Debug { -class ErrorReporter: private NonCopyable +class MSPCORE_API ErrorReporter: private NonCopyable { private: - ErrorReporter *_prev = 0; + ErrorReporter *_prev = nullptr; static ErrorReporter *_current; @@ -19,7 +20,7 @@ protected: public: virtual ~ErrorReporter(); - static const ErrorReporter *get_current() { return _current; } + static const ErrorReporter *get_current(); virtual bool report_uncaught_exception(const std::exception &) const = 0; };