Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76952 - trunk/libs/thread/src
From: vicente.botet_at_[hidden]
Date: 2012-02-08 16:34:30


Author: viboes
Date: 2012-02-08 16:34:29 EST (Wed, 08 Feb 2012)
New Revision: 76952
URL: http://svn.boost.org/trac/boost/changeset/76952

Log:
Thread: try to fix 6456 - trunk compilation errors converting future_errc to int
Text files modified:
   trunk/libs/thread/src/future.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/thread/src/future.cpp
==============================================================================
--- trunk/libs/thread/src/future.cpp (original)
+++ trunk/libs/thread/src/future.cpp 2012-02-08 16:34:29 EST (Wed, 08 Feb 2012)
@@ -28,7 +28,7 @@
     std::string
     future_error_category::message(int ev) const
     {
- switch (ev)
+ switch (BOOST_SCOPED_ENUM_NATIVE(future_errc)(ev))
         {
         case future_errc::broken_promise:
             return std::string("The associated promise has been destructed prior "


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