From 6b0e0dc7ae68502473f9eb76daafb76617e943ab Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Fri, 28 Mar 2014 07:04:51 -0600 Subject: [PATCH] Removed erroneously kept debug output --- include/chaiscript/dispatchkit/boxed_cast.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/chaiscript/dispatchkit/boxed_cast.hpp b/include/chaiscript/dispatchkit/boxed_cast.hpp index e3164d4..c27ffa3 100644 --- a/include/chaiscript/dispatchkit/boxed_cast.hpp +++ b/include/chaiscript/dispatchkit/boxed_cast.hpp @@ -84,13 +84,13 @@ namespace chaiscript if (boost::is_polymorphic::type>::value && t_conversions) { try { - std::cout << "trying an up conversion " << typeid(Type).name() << std::endl; + // std::cout << "trying an up conversion " << typeid(Type).name() << std::endl; // We will not catch any bad_boxed_dynamic_cast that is thrown, let the user get it // either way, we are not responsible if it doesn't work return detail::Cast_Helper::cast(t_conversions->boxed_dynamic_cast(bv), t_conversions); } catch (...) { try { - std::cout << "trying a down conversion " << typeid(Type).name() << std::endl; + // std::cout << "trying a down conversion " << typeid(Type).name() << std::endl; // try going the other way - down the inheritance graph return detail::Cast_Helper::cast(t_conversions->boxed_dynamic_down_cast(bv), t_conversions); } catch (const boost::bad_any_cast &) {