Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80765 - trunk/boost/thread
From: hartmut.kaiser_at_[hidden]
Date: 2012-09-29 17:42:37


Author: hkaiser
Date: 2012-09-29 17:42:36 EDT (Sat, 29 Sep 2012)
New Revision: 80765
URL: http://svn.boost.org/trac/boost/changeset/80765

Log:
Thread: adding inline keyword to avoid linker errors
Text files modified:
   trunk/boost/thread/future.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/thread/future.hpp
==============================================================================
--- trunk/boost/thread/future.hpp (original)
+++ trunk/boost/thread/future.hpp 2012-09-29 17:42:36 EDT (Sat, 29 Sep 2012)
@@ -2176,7 +2176,7 @@
   }
 
 
- BOOST_THREAD_FUTURE<void> make_future()
+ inline BOOST_THREAD_FUTURE<void> make_future()
   {
     promise<void> p;
     return boost::move(p.get_future());
@@ -2193,7 +2193,7 @@
   }
 
 
- shared_future<void> make_shared_future()
+ inline shared_future<void> make_shared_future()
   {
     promise<void> p;
     return p.get_future().share();


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