mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-02 20:30:11 +01:00
Update Var.h (#3684)
Add `Poco` namespace for `format` function, because it conficts with std::format.
This commit is contained in:
parent
c976c32e52
commit
2a36359bc7
@ -216,7 +216,7 @@ public:
|
||||
else if (!pHolder)
|
||||
throw InvalidAccessException("Can not extract empty value.");
|
||||
else
|
||||
throw BadCastException(format("Can not convert %s to %s.",
|
||||
throw BadCastException(Poco::format("Can not convert %s to %s.",
|
||||
std::string(pHolder->type().name()),
|
||||
std::string(typeid(T).name())));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user