From 78819fd3a8c2c8a22f3b97202a1e9b792ca2c098 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Wed, 3 Jun 2015 18:39:49 -0600 Subject: [PATCH] fixed boxed_number to_string impl --- 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 fd6de050..9b8f7741 100644 --- a/include/chaiscript/dispatchkit/boxed_number.hpp +++ b/include/chaiscript/dispatchkit/boxed_number.hpp @@ -467,13 +467,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(); }