Var BadCastException #861

This commit is contained in:
Aleksandar Fabijanic
2015-06-10 09:03:12 -05:00
parent 006f9e4d59
commit 2d6fc27dd1

View File

@@ -221,8 +221,8 @@ public:
throw InvalidAccessException("Can not extract empty value."); throw InvalidAccessException("Can not extract empty value.");
else else
throw BadCastException(format("Can not convert %s to %s.", throw BadCastException(format("Can not convert %s to %s.",
pHolder->type().name(), std::string(pHolder->type().name()),
typeid(T).name())); std::string(typeid(T).name())));
} }
template <typename T> template <typename T>