|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62652 - trunk/boost/thread
From: anthony_at_[hidden]
Date: 2010-06-09 08:36:12
Author: anthonyw
Date: 2010-06-09 08:36:11 EDT (Wed, 09 Jun 2010)
New Revision: 62652
URL: http://svn.boost.org/trac/boost/changeset/62652
Log:
Changed while(true) to for(;;) to avoid warnings. Fix for issue #3195
Text files modified:
trunk/boost/thread/locks.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/thread/locks.hpp
==============================================================================
--- trunk/boost/thread/locks.hpp (original)
+++ trunk/boost/thread/locks.hpp 2010-06-09 08:36:11 EDT (Wed, 09 Jun 2010)
@@ -1234,7 +1234,7 @@
{
unsigned const lock_count=2;
unsigned lock_first=0;
- while(true)
+ for(;;)
{
switch(lock_first)
{
@@ -1287,7 +1287,7 @@
{
unsigned const lock_count=3;
unsigned lock_first=0;
- while(true)
+ for(;;)
{
switch(lock_first)
{
@@ -1319,7 +1319,7 @@
{
unsigned const lock_count=4;
unsigned lock_first=0;
- while(true)
+ for(;;)
{
switch(lock_first)
{
@@ -1357,7 +1357,7 @@
{
unsigned const lock_count=5;
unsigned lock_first=0;
- while(true)
+ for(;;)
{
switch(lock_first)
{
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