summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video/KMDOD/bdd.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/KMDOD/bdd.hxx b/video/KMDOD/bdd.hxx
index 7ea38b34..5bfcb6f4 100644
--- a/video/KMDOD/bdd.hxx
+++ b/video/KMDOD/bdd.hxx
@@ -626,12 +626,12 @@ IsEdidChecksumValid(_In_reads_bytes_(EDID_V1_BLOCK_SIZE) const BYTE* pEdid);
// Memory handling
//
-// Requiring POOL_FLAGS means that any call to new Foo()
+// Defaulting the value of Flags means that any call to new Foo()
// will raise a compiler error for being ambiguous. This is to help keep
// any calls to allocate memory from accidentally NOT going through
// these functions.
-void* __cdecl operator new(size_t Size, POOL_FLAGS Flags);
-void* __cdecl operator new[](size_t Size, POOL_FLAGS Flags);
+void* __cdecl operator new(size_t Size, POOL_FLAGS Flags = POOL_FLAG_PAGED);
+void* __cdecl operator new[](size_t Size, POOL_FLAGS Flags = POOL_FLAG_PAGED);
void __cdecl operator delete(void* pObject);
void __cdecl operator delete(void* pObject, size_t s);
void __cdecl operator delete[](void* pObject);