mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 14:24:35 +01:00
fix(Foundation): Format.h uses Poco::format explicitly to avoid ambiguity with std::format (C++-20). #4028
This commit is contained in:
parent
381467d8f5
commit
5c9217663e
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user