From c151774911b4ea658410cc6593dd40390862a168 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 16 Mar 2020 17:19:24 +0300 Subject: DbgHelp: start fixing the API --- utils/enum_symbols.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/enum_symbols.cpp b/utils/enum_symbols.cpp index d7f4c37..123c9d1 100644 --- a/utils/enum_symbols.cpp +++ b/utils/enum_symbols.cpp @@ -72,7 +72,7 @@ int main(int argc, char* argv[]) { return 0; } - pdb::DbgHelp dbghelp; + const auto dbghelp = pdb::DbgHelp::post_mortem(); for (const auto& pdb : settings.pdbs) { const auto id = dbghelp.load_pdb(pdb); -- cgit v1.2.3