Don't use stacktrace on Windows.
continuous-integration/drone/push Build is failing

This commit is contained in:
Deukhoofd committed 2020-08-15 14:19:36 +02:00
1 parent 002902eed9
commit e778b61839
3 files changed
+11 -8

No files matched your search

+3 -1
View File
@@ -1,6 +1,8 @@
#ifndef ARBUTILS_EXCEPTION_HPP
#define ARBUTILS_EXCEPTION_HPP
#if !WINDOWS
#define BACKWARD_HAS_BFD 1
#endif
#include <exception>
#include <sstream>
@@ -34,7 +36,7 @@ namespace ArbUt {
function += "...";
}
ss << objectName;
if (include_addr){
if (include_addr) {
ss << "[" << trace.addr << "]";
}
ss << " " << function << std::endl;