From 6d21ae55e905d41e86d5bdc81e2441ce0e57db39 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sat, 29 Aug 2026 23:21:58 +0200 Subject: [PATCH] Use debugbreak.h in RefCountClass --- Code/wwlib/refcount.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/wwlib/refcount.cpp b/Code/wwlib/refcount.cpp index 557a0774c..8ea37fa6c 100644 --- a/Code/wwlib/refcount.cpp +++ b/Code/wwlib/refcount.cpp @@ -40,7 +40,7 @@ #include "refcount.h" -#include +#include "debugbreak.h" #ifndef NDEBUG @@ -174,7 +174,7 @@ void RefCountClass::Add_Ref(void) // See if programmer set break on for a specific address. if (this == BreakOnReference) { - DebugBreak(); // trigger the debugger + debugbreak(); // trigger the debugger } Inc_Total_Refs(this); } @@ -201,7 +201,7 @@ void RefCountClass::Dec_Total_Refs(RefCountClass * obj) // See if programmer set break on for a specific address. if (obj == BreakOnReference) { - DebugBreak(); // trigger the debugger + debugbreak(); // trigger the debugger } }