Help save net neutrality! Learn more.
Close

Diff of /cmajor++/Cm/Cm.Core/BasicType.cpp [r367] .. [r368]  Maximize  Restore

Switch to side-by-side view

--- a/cmajor++/Cm/Cm.Core/BasicType.cpp
+++ b/cmajor++/Cm/Cm.Core/BasicType.cpp
@@ -60,7 +60,7 @@
 
 BoolTypePtr BoolType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -97,7 +97,7 @@
 
 ByteTypePtr ByteType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -128,7 +128,7 @@
 
 SByteTypePtr SByteType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -159,7 +159,7 @@
 
 ShortTypePtr ShortType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -190,7 +190,7 @@
 
 UShortTypePtr UShortType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -225,7 +225,7 @@
 
 IntTypePtr IntType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -256,7 +256,7 @@
 
 UIntTypePtr UIntType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -283,7 +283,7 @@
 
 LongTypePtr LongType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -314,7 +314,7 @@
 
 ULongTypePtr ULongType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -349,7 +349,7 @@
 
 DoubleTypePtr DoubleType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -380,7 +380,7 @@
 
 FloatTypePtr FloatType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -411,7 +411,7 @@
 
 CharTypePtr CharType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }
 
@@ -441,7 +441,7 @@
 
 VoidTypePtr VoidType::Instance()
 {
-    CM_CORE_ASSERT(instance);
+    CM_CORE_ASSERT(instance, nullptr);
     return instance;
 }