From e7878dddfdb164c6b97c11ee4aac6782d27fc2af Mon Sep 17 00:00:00 2001 From: Iurie Virlan <38211890+IuraHD@users.noreply.github.com> Date: Wed, 23 Sep 2026 06:26:45 +0100 Subject: [PATCH] fix: declare unevaluated swappability helper without a body --- include/nonstd/optional.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nonstd/optional.hpp b/include/nonstd/optional.hpp index 6ce7729..bf3941a 100644 --- a/include/nonstd/optional.hpp +++ b/include/nonstd/optional.hpp @@ -569,7 +569,7 @@ struct is_nothrow_swappable } template< typename T > - static auto test( int /*unused*/ ) -> std11::integral_constant()>{} + static auto test( int /*unused*/ ) -> std11::integral_constant()>; template< typename > static auto test(...) -> std11::false_type;