Implement missing handlers for disabled breakpad

This commit is contained in:
Berkus Decker 2017-11-24 00:33:07 +02:00
parent d4ffb85486
commit c6b4ec13c2
1 changed files with 15 additions and 1 deletions

View File

@ -1139,5 +1139,19 @@ namespace internal {
internal::ProcessAnnotationRefs.erase(key);
}
}
}
#ifdef TDESKTOP_DISABLE_CRASH_REPORTS
namespace SignalHandlers {
dump::~dump() {
}
const dump &operator<<(const dump &stream, const char *str) {
return stream;
}
const dump &operator<<(const dump &stream, double num) {
return stream;
}
}
#endif // TDESKTOP_DISABLE_CRASH_REPORTS