From: Helge Norberg Date: Thu, 3 Dec 2015 10:20:07 +0000 (+0100) Subject: Indent stack trace lines so it is easier to read X-Git-Tag: 2.1.0_Beta1~152 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d34db373cf8df39a95099defdfddb29f264ea1f5;p=casparcg Indent stack trace lines so it is easier to read --- diff --git a/common/os/windows/stack_trace.cpp b/common/os/windows/stack_trace.cpp index c01d06acb..ff5dc28bf 100644 --- a/common/os/windows/stack_trace.cpp +++ b/common/os/windows/stack_trace.cpp @@ -36,7 +36,7 @@ std::wstring get_call_stack() { class log_call_stack_walker : public StackWalker { - std::string str_; + std::string str_ = "\n"; public: log_call_stack_walker() : StackWalker() {} @@ -59,7 +59,7 @@ std::wstring get_call_stack() std::string str = szText; if(str.find("caspar::get_call_stack") == std::string::npos && str.find("StackWalker::ShowCallstack") == std::string::npos) - str_ += std::move(str); + str_ += " " + std::move(str); } };