fix(Foundation): Format.h uses Poco::format explicitly to avoid ambiguity with std::format (C++-20). #4028

This commit is contained in:
Matej Kenda 2023-11-30 14:26:11 +01:00
parent 381467d8f5
commit 5c9217663e

View File

@ -115,14 +115,14 @@ inline void formatAny(std::string& result, const std::string& fmt, const std::ve
/// Supports a variable number of arguments and is used by
/// all other variants of format().
{
format(result, fmt, values);
Poco::format(result, fmt, values);
}
inline void formatAny(std::string& result, const char *fmt, const std::vector<Any>& values)
/// Supports a variable number of arguments and is used by
/// all other variants of format().
{
format(result, fmt, values);
Poco::format(result, fmt, values);
}
template <typename T, typename... Args>