aboutsummaryrefslogtreecommitdiff
path: root/src/common/Debugging/WheatyExceptionReport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Debugging/WheatyExceptionReport.h')
-rw-r--r--src/common/Debugging/WheatyExceptionReport.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/common/Debugging/WheatyExceptionReport.h b/src/common/Debugging/WheatyExceptionReport.h
index a6f871bfb13..54cc836e7b7 100644
--- a/src/common/Debugging/WheatyExceptionReport.h
+++ b/src/common/Debugging/WheatyExceptionReport.h
@@ -115,20 +115,7 @@ struct SymbolDetail
{
SymbolDetail() : Prefix(), Type(), Suffix(), Name(), Value(), Logged(false), HasChildren(false) {}
- std::string ToString()
- {
- Logged = true;
- std::string formatted = Prefix + Type + Suffix;
- if (!Name.empty())
- {
- if (!formatted.empty())
- formatted += " ";
- formatted += Name;
- }
- if (!Value.empty())
- formatted += " = " + Value;
- return formatted;
- }
+ std::string ToString();
bool empty() const
{