mirror of
https://github.com/boostorg/stacktrace.git
synced 2026-02-22 03:32:27 +00:00
Fix Windows compilation and improve examples
This commit is contained in:
@@ -122,7 +122,8 @@ struct backtrace_holder {
|
||||
inline std::size_t get_source_line(std::size_t frame) const BOOST_NOEXCEPT {
|
||||
ULONG line_num = 0;
|
||||
|
||||
if (!try_init_com()) {
|
||||
com_holder<IDebugSymbols> idebug_;
|
||||
if (!try_init_com(idebug_)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user