From 5c9217663e568512c3e7b8d3b38225528f161e39 Mon Sep 17 00:00:00 2001 From: Matej Kenda Date: Thu, 30 Nov 2023 14:26:11 +0100 Subject: [PATCH] fix(Foundation): Format.h uses Poco::format explicitly to avoid ambiguity with std::format (C++-20). #4028 --- Foundation/include/Poco/Format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Foundation/include/Poco/Format.h b/Foundation/include/Poco/Format.h index e76326c6e..d82b107be 100644 --- a/Foundation/include/Poco/Format.h +++ b/Foundation/include/Poco/Format.h @@ -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& 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