From e759a0c544b9961b0fca69eb03a9666955191860 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Wed, 3 Jun 2015 07:00:28 -0600 Subject: [PATCH] Reduce template instantiations --- include/chaiscript/dispatchkit/boxed_number.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/chaiscript/dispatchkit/boxed_number.hpp b/include/chaiscript/dispatchkit/boxed_number.hpp index 69073ac..f67f1f7 100644 --- a/include/chaiscript/dispatchkit/boxed_number.hpp +++ b/include/chaiscript/dispatchkit/boxed_number.hpp @@ -459,13 +459,13 @@ namespace chaiscript } else if (inp_ == typeid(std::int64_t)) { return get_as_aux(); } else if (inp_ == typeid(std::uint8_t)) { - return get_as_aux(); + return get_as_aux(); } else if (inp_ == typeid(std::uint16_t)) { - return get_as_aux(); + return get_as_aux(); } else if (inp_ == typeid(std::uint32_t)) { - return get_as_aux(); + return get_as_aux(); } else if (inp_ == typeid(std::uint64_t)) { - return get_as_aux(); + return get_as_aux(); } else { throw chaiscript::detail::exception::bad_any_cast(); }