From 5878212b048ef1dff7fd466448b6910fd2cbc2f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Krzemie=C5=84ski?= Date: Mon, 15 Feb 2016 09:14:56 +0100 Subject: [PATCH] removed incorrect noexcept from tests --- test/optional_test_swap.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/optional_test_swap.cpp b/test/optional_test_swap.cpp index 757b616..2feed25 100644 --- a/test/optional_test_swap.cpp +++ b/test/optional_test_swap.cpp @@ -25,10 +25,8 @@ #if __cplusplus < 201103L #include -#define SWAP_EX_SPEC #else #include -#define SWAP_EX_SPEC noexcept #endif using boost::optional; @@ -244,14 +242,12 @@ void swap(optional_swap_test::class_whose_default_ctor_should_be_used & x, optio template <> void swap(optional_swap_test::class_whose_default_ctor_should_not_be_used & x, optional_swap_test::class_whose_default_ctor_should_not_be_used & y) -SWAP_EX_SPEC { optional_swap_test::swap(x, y); } template <> void swap(optional_swap_test::class_without_default_ctor & x, optional_swap_test::class_without_default_ctor & y) -SWAP_EX_SPEC { optional_swap_test::swap(x, y); }