Boost logo

Boost-Commit :

From: hinnant_at_[hidden]
Date: 2007-12-15 18:40:00


Author: hinnant
Date: 2007-12-15 18:40:00 EST (Sat, 15 Dec 2007)
New Revision: 42090
URL: http://svn.boost.org/trac/boost/changeset/42090

Log:
renamed stb to std in a couple of places (native_handle2.cpp)

Text files modified:
   sandbox/committee/LWG/examples/native_handle2.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/committee/LWG/examples/native_handle2.cpp
==============================================================================
--- sandbox/committee/LWG/examples/native_handle2.cpp (original)
+++ sandbox/committee/LWG/examples/native_handle2.cpp 2007-12-15 18:40:00 EST (Sat, 15 Dec 2007)
@@ -14,14 +14,14 @@
 // Set the priority ceiling of a POSIX mutex if possible
 
 template <class Mutex>
-typename stb::enable_if
+typename std::enable_if
 <
     has_native_handle_type<Mutex>::value,
     int
>::type
 mutex_set_priority_ceiling(Mutex& mut, int priority)
 {
- static_assert(stb::is_same<typename Mutex::native_handle_type, pthread_mutex_t*>::value,
+ static_assert(std::is_same<typename Mutex::native_handle_type, pthread_mutex_t*>::value,
                   "Mutex::native_handle_type isn't a pthread_mutex_t*");
     int old_priority;
     pthread_mutex_setprioceiling(mut.native_handle(), priority, &old_priority);


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