aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/Util.h
diff options
context:
space:
mode:
authorStormBytePP <stormbyte@gmail.com>2015-09-21 15:17:05 +0200
committerStormBytePP <stormbyte@gmail.com>2015-09-21 15:17:05 +0200
commit0bed9d56cb9f10979492187c51042802272ce8ed (patch)
tree626a32a25a1486bf650e20518235f5ff6c7bffe0 /src/common/Utilities/Util.h
parent32a2e584296556e852830e50cfa612ce279360b6 (diff)
Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert
Diffstat (limited to 'src/common/Utilities/Util.h')
-rw-r--r--src/common/Utilities/Util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Utilities/Util.h b/src/common/Utilities/Util.h
index a96fd21058f..a48a3e42f3b 100644
--- a/src/common/Utilities/Util.h
+++ b/src/common/Utilities/Util.h
@@ -550,7 +550,7 @@ bool CompareValues(ComparisionType type, T val1, T val2)
return val1 <= val2;
default:
// incorrect parameter
- ASSERT(false);
+ ABORT();
return false;
}
}