|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86360 - trunk/boost/sync/detail/semaphore
From: andrey.semashev_at_[hidden]
Date: 2013-10-18 18:52:21
Author: andysem
Date: 2013-10-18 18:52:21 EDT (Fri, 18 Oct 2013)
New Revision: 86360
URL: http://svn.boost.org/trac/boost/changeset/86360
Log:
Compilation fixes.
Text files modified:
trunk/boost/sync/detail/semaphore/semaphore_dispatch.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/sync/detail/semaphore/semaphore_dispatch.hpp
==============================================================================
--- trunk/boost/sync/detail/semaphore/semaphore_dispatch.hpp Fri Oct 18 16:57:15 2013 (r86359)
+++ trunk/boost/sync/detail/semaphore/semaphore_dispatch.hpp 2013-10-18 18:52:21 EDT (Fri, 18 Oct 2013) (r86360)
@@ -96,12 +96,12 @@
enum
{
nanoseconds_fraction = 1000000000u,
- conversion_ratio = static_cast< uint64_t >(nanoseconds_fraction) >= system_duration::subsecond_fraction ?
- nanoseconds_fraction / system_duration::subsecond_fraction :
- system_duration::subsecond_fraction / nanoseconds_fraction
+ conversion_ratio = static_cast< uint64_t >(nanoseconds_fraction) >= sync::detail::system_duration::subsecond_fraction ?
+ nanoseconds_fraction / sync::detail::system_duration::subsecond_fraction :
+ sync::detail::system_duration::subsecond_fraction / nanoseconds_fraction
};
- const int64_t nanoseconds_left = static_cast< uint64_t >(nanoseconds_fraction) >= system_duration::subsecond_fraction ?
+ const int64_t nanoseconds_left = static_cast< uint64_t >(nanoseconds_fraction) >= sync::detail::system_duration::subsecond_fraction ?
time_left / conversion_ratio : time_left * conversion_ratio;
timeout = dispatch_time(DISPATCH_TIME_NOW, nanoseconds_left);
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