From 78e032ccf052b92b7f8c051eda6c6c6420f4db45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Wed, 1 Oct 2014 00:21:38 +0200 Subject: [PATCH] Fixes Trac #10460 --- doc/move.qbk | 1 + include/boost/move/core.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/move.qbk b/doc/move.qbk index 762a6c9..dbd7d11 100644 --- a/doc/move.qbk +++ b/doc/move.qbk @@ -761,6 +761,7 @@ Many thanks to all boosters that have tested, reviewed and improved the library. * Added `move_if_noexcept` utility. Thanks to Antony Polukhin for the implementation. * Fixed bugs: * [@https://svn.boost.org/trac/boost/ticket/9785 Trac #9785: ['"Compiler warning with intel icc in boost/move/core.hpp"]], + * [@https://svn.boost.org/trac/boost/ticket/10460 Trac #10460: ['"Compiler error due to looser throw specifier"]], * [@https://github.com/boostorg/move/pull/3 Git Pull #3: ['"Don't delete copy constructor when rvalue references are disabled"]], [endsect] diff --git a/include/boost/move/core.hpp b/include/boost/move/core.hpp index e2b13cd..da63812 100644 --- a/include/boost/move/core.hpp +++ b/include/boost/move/core.hpp @@ -71,7 +71,7 @@ >::type { rv(); - ~rv(); + ~rv() throw(); rv(rv const&); void operator=(rv const&); } BOOST_MOVE_ATTRIBUTE_MAY_ALIAS;