mirror of
https://github.com/boostorg/optional.git
synced 2025-07-23 00:57:15 +02:00
spelling: unswapped
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Andrzej Krzemienski
parent
d4f84a868d
commit
302f39e545
@ -687,7 +687,7 @@ void test_throwing_swap( T const* )
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// This should attempt to swap optionals and fail at opt0.reset(*opt1)
|
// This should attempt to swap optionals and fail at opt0.reset(*opt1)
|
||||||
// Both opt0 and op1 are left unchanged (unswaped)
|
// Both opt0 and op1 are left unchanged (unswapped)
|
||||||
swap(opt0,opt1);
|
swap(opt0,opt1);
|
||||||
|
|
||||||
passed = true ;
|
passed = true ;
|
||||||
|
Reference in New Issue
Block a user