summaryrefslogtreecommitdiff
path: root/boost/stacktrace/detail/frame_msvc.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/stacktrace/detail/frame_msvc.ipp')
-rw-r--r--boost/stacktrace/detail/frame_msvc.ipp8
1 files changed, 3 insertions, 5 deletions
diff --git a/boost/stacktrace/detail/frame_msvc.ipp b/boost/stacktrace/detail/frame_msvc.ipp
index 6110524568..6e5eb490c6 100644
--- a/boost/stacktrace/detail/frame_msvc.ipp
+++ b/boost/stacktrace/detail/frame_msvc.ipp
@@ -21,8 +21,6 @@
#include <windows.h>
#include "dbgeng.h"
-#include <boost/detail/winapi/get_current_process.hpp>
-
#ifdef BOOST_MSVC
# pragma comment(lib, "ole32.lib")
# pragma comment(lib, "Dbgeng.lib")
@@ -59,7 +57,7 @@ public:
//
// If we call CoInitializeEx befire user - user may end up with different mode, which is a problem.
// So we need to call that initialization function as late as possible.
- const boost::detail::winapi::DWORD_ res = ::CoInitializeEx(0, COINIT_MULTITHREADED);
+ const DWORD res = ::CoInitializeEx(0, COINIT_MULTITHREADED);
ok_ = (res == S_OK || res == S_FALSE);
}
@@ -100,7 +98,7 @@ public:
};
-static std::string minwg_demangling_workaround(const std::string& s) {
+static std::string mingw_demangling_workaround(const std::string& s) {
#ifdef BOOST_GCC
if (s.empty()) {
return s;
@@ -239,7 +237,7 @@ public:
return result;
}
- result = minwg_demangling_workaround(
+ result = mingw_demangling_workaround(
result.substr(delimiter + 1)
);