Skip to content

Commit

Permalink
Var BadCastException #861
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f committed Jun 10, 2015
1 parent 006f9e4 commit 2d6fc27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Foundation/include/Poco/Dynamic/Var.h
Expand Up @@ -221,8 +221,8 @@ class Foundation_API Var
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>
Expand Down

0 comments on commit 2d6fc27

Please sign in to comment.