From e0f92677c820524f473eac2a89024f9766c1e162 Mon Sep 17 00:00:00 2001
From: kevin <kevin@larke.org>
Date: Mon, 10 Jun 2024 16:35:54 -0400
Subject: [PATCH] cwCommonImpl.h : cwAssert() now aborts pgm.

---
 cwCommonImpl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cwCommonImpl.h b/cwCommonImpl.h
index 9d0d4db..65cbb80 100644
--- a/cwCommonImpl.h
+++ b/cwCommonImpl.h
@@ -138,7 +138,7 @@ namespace cw
 {
 
   
-#define cwAssert(C)       while(1){ if(!(C)) { cwLogFatal(kAssertFailRC,"Assert failed on condition:%s",#C ); } break; }
+#define cwAssert(C)       while(1){ if(!(C)) { cwLogFatal(kAssertFailRC,"Assert failed on condition:%s",#C ); assert(0); } break; }
 #define cwRuntimeCheck(C) while(1){ if(!(C)) { rc=cwLogError(kAssertFailRC,"Runtime error check failed on condition:%s",#C); goto errLabel; } break; }