summaryrefslogtreecommitdiff
path: root/src/shared/leaktrace.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-11-28 11:19:20 +0100
committerTannin <devnull@localhost>2014-11-28 11:19:20 +0100
commit99de80e7224f2491fb7518e32f195ad6a912b624 (patch)
treeef8f1d3ba16b7681beaae5cf67d0f5671e486061 /src/shared/leaktrace.cpp
parent78f628e0af2f2df562c40ac1424b432b6a969055 (diff)
replaced all uses of NULL with nullptr
fixed a few placed where NULL was used as a number or boolean
Diffstat (limited to 'src/shared/leaktrace.cpp')
-rw-r--r--src/shared/leaktrace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/leaktrace.cpp b/src/shared/leaktrace.cpp
index 729eb42e..46ff7924 100644
--- a/src/shared/leaktrace.cpp
+++ b/src/shared/leaktrace.cpp
@@ -22,7 +22,7 @@ void initDbgIfNecessary()
::SymSetOptions(SYMOPT_UNDNAME | SYMOPT_DEFERRED_LOADS);
firstCall = false;
}
- if (!::SymInitialize(process, NULL, TRUE)) {
+ if (!::SymInitialize(process, nullptr, TRUE)) {
printf("failed to initialize symbols: %d", ::GetLastError());
}
initialized.insert(::GetCurrentProcessId());