Var BadCastException #861

This commit is contained in:
Aleksandar Fabijanic
2015-06-10 09:04:19 -05:00
parent 5a5509a3e3
commit bd057090c3

View File

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