|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80593 - trunk/boost/thread
From: vicente.botet_at_[hidden]
Date: 2012-09-18 19:10:51
Author: viboes
Date: 2012-09-18 19:10:51 EDT (Tue, 18 Sep 2012)
New Revision: 80593
URL: http://svn.boost.org/trac/boost/changeset/80593
Log:
Thread: Added missing what() virtual function of future_error
Text files modified:
trunk/boost/thread/future.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/thread/future.hpp
==============================================================================
--- trunk/boost/thread/future.hpp (original)
+++ trunk/boost/thread/future.hpp 2012-09-18 19:10:51 EDT (Tue, 18 Sep 2012)
@@ -136,6 +136,10 @@
{
return ec_;
}
+ const char* what() const BOOST_NOEXCEPT
+ {
+ return code().message();
+ }
};
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk