diff --git a/Constrained_triangulation_3/include/CGAL/Constrained_triangulation_3/internal/config.h b/Constrained_triangulation_3/include/CGAL/Constrained_triangulation_3/internal/config.h index 542be8a8cd8..113f32ba21d 100644 --- a/Constrained_triangulation_3/include/CGAL/Constrained_triangulation_3/internal/config.h +++ b/Constrained_triangulation_3/include/CGAL/Constrained_triangulation_3/internal/config.h @@ -31,9 +31,9 @@ constexpr bool cdt_3_can_use_cxx20_format() { return true; } -template -decltype(auto) cdt_3_format(std::format_string fmt, Args&&... args) { - return std::format(fmt, std::forward(args)...); +template +decltype(auto) cdt_3_format(Format&& fmt, Args&&... args) { + return std::format(std::forward(fmt), std::forward(args)...); } #else // not CGAL_CDT_3_CAN_USE_CXX20_FORMAT