From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- third_party/function2/include/function2/function2.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'third_party/function2/include') diff --git a/third_party/function2/include/function2/function2.hpp b/third_party/function2/include/function2/function2.hpp index e6dfca072e..ffb82b5ef7 100644 --- a/third_party/function2/include/function2/function2.hpp +++ b/third_party/function2/include/function2/function2.hpp @@ -1828,6 +1828,14 @@ constexpr auto overload(T&&... callables) { } } // namespace fu2 +namespace std{ +template +struct uses_allocator< + ::fu2::detail::function, + Alloc +> : std::true_type {}; +} // namespace std + #undef FU2_DETAIL_EXPAND_QUALIFIERS #undef FU2_DETAIL_EXPAND_QUALIFIERS_NOEXCEPT #undef FU2_DETAIL_EXPAND_CV -- cgit v1.2.3