summaryrefslogtreecommitdiff
path: root/src/gc/objecthandle.cpp
diff options
context:
space:
mode:
authorSean Gillespie <sean@swgillespie.me>2017-03-28 09:59:04 -0700
committerGitHub <noreply@github.com>2017-03-28 09:59:04 -0700
commit7e4afb4fbf900b789f53ccb816c6ddba7807de68 (patch)
treeabd92570df8d5ac52a5725f8f7bf1f220cb0c72f /src/gc/objecthandle.cpp
parente23bfb25d4fde28d2f1648ae381f5e44538b1827 (diff)
downloadcoreclr-7e4afb4fbf900b789f53ccb816c6ddba7807de68.tar.gz
coreclr-7e4afb4fbf900b789f53ccb816c6ddba7807de68.tar.bz2
coreclr-7e4afb4fbf900b789f53ccb816c6ddba7807de68.zip
[Local GC] Use standard C++ types (bool) and consistent types (void*) on the interface (#10463)
* [Local GC] BOOL -> bool on IGCHeap * [Local GC] size_t -> void* on IGCHeap * [Local GC] Silence warnings by being explicit about BOOl -> bool conversions * Address code review feedback: FinalizeAppDomain BOOL -> bool * Fix warnings * Address code review feedback: 1) Fix a missed default parameter (FALSE) on a parameter of type bool, 2) Fix invocations of the diagnostic callbacks to use boolean literals instead of TRUE and FALSE, 3) Fix various invocations of GC interface methods in the VM to use boolean literals instead of TRUE and FALSE * Address code review feedback: fix inconsistency
Diffstat (limited to 'src/gc/objecthandle.cpp')
-rw-r--r--src/gc/objecthandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gc/objecthandle.cpp b/src/gc/objecthandle.cpp
index e8eed93006..5f5ecbf556 100644
--- a/src/gc/objecthandle.cpp
+++ b/src/gc/objecthandle.cpp
@@ -441,13 +441,13 @@ void CALLBACK ScanPointerForProfilerAndETW(_UNCHECKED_OBJECTREF *pObjRef, uintpt
ScanContext *pSC = (ScanContext *)lp1;
uint32_t rootFlags = 0;
- BOOL isDependent = FALSE;
+ bool isDependent = false;
OBJECTHANDLE handle = (OBJECTHANDLE)(pRef);
switch (HandleFetchType(handle))
{
case HNDTYPE_DEPENDENT:
- isDependent = TRUE;
+ isDependent = true;
break;
case HNDTYPE_WEAK_SHORT:
case HNDTYPE_WEAK_LONG: