diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:18:43 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:18:43 +0900 |
commit | 5ce2ccf2f23c6d3de4c79f216f57ca6f2a18ed16 (patch) | |
tree | bbee48efb9867d19ac3fdd84ba714c7af326cd53 /boost/stacktrace/detail/frame_msvc.ipp | |
parent | b8cf34c691623e4ec329053cbbf68522a855882d (diff) | |
download | boost-5ce2ccf2f23c6d3de4c79f216f57ca6f2a18ed16.tar.gz boost-5ce2ccf2f23c6d3de4c79f216f57ca6f2a18ed16.tar.bz2 boost-5ce2ccf2f23c6d3de4c79f216f57ca6f2a18ed16.zip |
Imported Upstream version 1.68.0upstream/1.68.0
Diffstat (limited to 'boost/stacktrace/detail/frame_msvc.ipp')
-rw-r--r-- | boost/stacktrace/detail/frame_msvc.ipp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/stacktrace/detail/frame_msvc.ipp b/boost/stacktrace/detail/frame_msvc.ipp index 6e5eb490c6..13810a21da 100644 --- a/boost/stacktrace/detail/frame_msvc.ipp +++ b/boost/stacktrace/detail/frame_msvc.ipp @@ -1,4 +1,4 @@ -// Copyright Antony Polukhin, 2016-2017. +// Copyright Antony Polukhin, 2016-2018. // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at @@ -16,7 +16,7 @@ #include <boost/core/demangle.hpp> #include <boost/core/noncopyable.hpp> -#include <boost/lexical_cast.hpp> +#include <boost/stacktrace/detail/to_dec_array.hpp> #include <boost/stacktrace/detail/to_hex_array.hpp> #include <windows.h> #include "dbgeng.h" @@ -329,7 +329,7 @@ public: res += " at "; res += source_line.first; res += ':'; - res += boost::lexical_cast<boost::array<char, 40> >(source_line.second).data(); + res += boost::stacktrace::detail::to_dec_array(source_line.second).data(); } else if (!module_name.empty()) { res += " in "; res += module_name; @@ -349,7 +349,7 @@ std::string to_string(const frame* frames, std::size_t size) { if (i < 10) { res += ' '; } - res += boost::lexical_cast<boost::array<char, 40> >(i).data(); + res += boost::stacktrace::detail::to_dec_array(i).data(); res += '#'; res += ' '; idebug.to_string_impl(frames[i].address(), res); |