Make divide by zero protection the default

This commit is contained in:
Jason Turner 2015-01-09 19:38:27 -07:00
parent 0695eec3ca
commit 8746a9eea5

View File

@ -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)
{