|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59239 - sandbox/task/libs/task/src
From: oliver.kowalke_at_[hidden]
Date: 2010-01-23 12:24:16
Author: olli
Date: 2010-01-23 12:24:15 EST (Sat, 23 Jan 2010)
New Revision: 59239
URL: http://svn.boost.org/trac/boost/changeset/59239
Log:
- fix related to std::min
Text files modified:
sandbox/task/libs/task/src/fast_semaphore.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/task/libs/task/src/fast_semaphore.cpp
==============================================================================
--- sandbox/task/libs/task/src/fast_semaphore.cpp (original)
+++ sandbox/task/libs/task/src/fast_semaphore.cpp 2010-01-23 12:24:15 EST (Sat, 23 Jan 2010)
@@ -34,7 +34,7 @@
int sem_count = sem_count_.fetch_add( count);
if ( sem_count < 0)
- sem_.post( std::min( count, -sem_count) );
+ sem_.post( ( std::min)( count, -sem_count) );
}
void
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