Skip to content

Commit d00bcb8

Browse files
committed
Fix old references to internal::
1 parent 3e1baf5 commit d00bcb8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/symbols/symbols_with_dbghelp.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ namespace experimental {
464464
void load_symbols_for_file(const std::string& filename) {
465465
HMODULE hModule = GetModuleHandleA(filename.c_str());
466466
if (hModule == NULL) {
467-
throw internal::internal_error(
467+
throw detail::internal_error(
468468
"Unable to get module handle for file '{}' : {}",
469469
filename,
470470
std::system_error(GetLastError(), std::system_category()).what()
@@ -481,15 +481,15 @@ namespace experimental {
481481
sizeof(module_info)
482482
)
483483
) {
484-
throw internal::internal_error(
484+
throw detail::internal_error(
485485
"Unable to get module information for file '{}' : {}",
486486
filename,
487487
std::system_error(GetLastError(), std::system_category()).what()
488488
);
489489
}
490490

491-
auto lock = internal::get_dbghelp_lock();
492-
HANDLE syminit_handle = internal::ensure_syminit().get_process_handle();
491+
auto lock = detail::get_dbghelp_lock();
492+
HANDLE syminit_handle = detail::ensure_syminit().get_process_handle();
493493
if (
494494
!SymLoadModuleEx(
495495
syminit_handle,
@@ -503,7 +503,7 @@ namespace experimental {
503503
0
504504
)
505505
) {
506-
throw internal::internal_error(
506+
throw detail::internal_error(
507507
"Unable to load symbols for file '{}' : {}",
508508
filename,
509509
std::system_error(GetLastError(), std::system_category()).what()

0 commit comments

Comments
 (0)