From 8746a9eea52e805f47f48d3679ca72077d284e40 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Fri, 9 Jan 2015 19:38:27 -0700 Subject: [PATCH] Make divide by zero protection the default --- include/chaiscript/dispatchkit/boxed_number.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chaiscript/dispatchkit/boxed_number.hpp b/include/chaiscript/dispatchkit/boxed_number.hpp index 87d0cb3..69cfefa 100644 --- a/include/chaiscript/dispatchkit/boxed_number.hpp +++ b/include/chaiscript/dispatchkit/boxed_number.hpp @@ -49,7 +49,7 @@ namespace chaiscript class Boxed_Number { private: -#ifdef CHAISCRIPT_PROTECT_DIVIDEBYZERO +#ifndef CHAISCRIPT_NO_PROTECT_DIVIDEBYZERO template static void check_divide_by_zero(T t) {