Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xyz1001 committed May 8, 2024
1 parent 31b5071 commit a93ff9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nonstd/scope.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ class unique_resource
);

scope_static_assert(
(std11::is_move_constructible<R>::value && std11::is_nothrow_move_constructible<D>::value )
(std11::is_move_constructible<D>::value && std11::is_nothrow_move_constructible<D>::value )
|| std11::is_copy_constructible<D>::value
, "deleter must be nothrow_move_constructible or copy_constructible"
);
Expand Down

0 comments on commit a93ff9e

Please sign in to comment.