Hide some functions that aren't used by Windows from the Windows build.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-08-16 17:27:09 +02:00
parent 5c0c0878a6
commit c58bc6f785
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ namespace ArbUt {
#endif
}
#if !WINDOWS
private:
static void AppendNoSourceStack(std::stringstream& ss, const backward::ResolvedTrace& trace,
bool include_addr) {
@ -101,6 +102,7 @@ namespace ArbUt {
ss << fileName << "[" << trace.source.line << "] " << function << std::endl;
}
};
#endif
}
#endif // ARBUTILS_EXCEPTION_HPP