Make divide by zero protection the default
This commit is contained in:
parent
0695eec3ca
commit
8746a9eea5
@ -49,7 +49,7 @@ namespace chaiscript
|
||||
class Boxed_Number
|
||||
{
|
||||
private:
|
||||
#ifdef CHAISCRIPT_PROTECT_DIVIDEBYZERO
|
||||
#ifndef CHAISCRIPT_NO_PROTECT_DIVIDEBYZERO
|
||||
template<typename T>
|
||||
static void check_divide_by_zero(T t)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user