From a93ff9e0d8d55011d2ca5e4140bdc33b86192a13 Mon Sep 17 00:00:00 2001 From: xyz1001 Date: Wed, 8 May 2024 18:54:47 +0800 Subject: [PATCH] Fix typo --- include/nonstd/scope.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nonstd/scope.hpp b/include/nonstd/scope.hpp index afd4f86..83ed338 100644 --- a/include/nonstd/scope.hpp +++ b/include/nonstd/scope.hpp @@ -897,7 +897,7 @@ class unique_resource ); scope_static_assert( - (std11::is_move_constructible::value && std11::is_nothrow_move_constructible::value ) + (std11::is_move_constructible::value && std11::is_nothrow_move_constructible::value ) || std11::is_copy_constructible::value , "deleter must be nothrow_move_constructible or copy_constructible" );