From fef5885ac4b8ba77d2da560206ffca0219d97cde Mon Sep 17 00:00:00 2001 From: Alex Guteniev Date: Thu, 21 Mar 2024 16:17:55 +0200 Subject: [PATCH] inline, see #4496 --- stl/inc/xutility | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stl/inc/xutility b/stl/inc/xutility index 2ea3ce1344..d39315e0ea 100644 --- a/stl/inc/xutility +++ b/stl/inc/xutility @@ -299,7 +299,7 @@ auto __std_max(_Ty* const _First, _Ty* const _Last) noexcept { } template -size_t __std_mismatch(const void* const _First1, const void* const _First2, const size_t _Count) noexcept { +size_t inline __std_mismatch(const void* const _First1, const void* const _First2, const size_t _Count) noexcept { if constexpr (_Element_size == 1) { return __std_mismatch_1(_First1, _First2, _Count); } else if constexpr (_Element_size == 2) {