aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-16 17:19:24 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-16 17:19:24 +0300
commitc151774911b4ea658410cc6593dd40390862a168 (patch)
tree2d364e74bfb9923236fdc53d8cc7b64df3dcc883 /utils
parentTravis: ignore everything in .dockerignore (diff)
downloadwinapi-debug-c151774911b4ea658410cc6593dd40390862a168.tar.gz
winapi-debug-c151774911b4ea658410cc6593dd40390862a168.zip
DbgHelp: start fixing the API
Diffstat (limited to '')
-rw-r--r--utils/enum_symbols.cpp2
1 files changed, 1 insertions, 1 deletions
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);