summaryrefslogtreecommitdiff
path: root/s
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-07-22 11:46:49 -0400
committerdwight <dwight@10gen.com>2011-07-22 11:46:49 -0400
commiteced9583f77c6fb5ec02cb6aac1d77b8a8e877c2 (patch)
tree0edad30292346bdd60133f7715419b7fc55cafe5 /s
parentdced9acda8be7c6aa22658d582cd17442efc9281 (diff)
downloadmongo-eced9583f77c6fb5ec02cb6aac1d77b8a8e877c2.tar.gz
unsafe use of type bool warning on vstudio
Diffstat (limited to 's')
-rw-r--r--s/d_migrate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/d_migrate.cpp b/s/d_migrate.cpp
index fd737759dbd..52e9c96bea1 100644
--- a/s/d_migrate.cpp
+++ b/s/d_migrate.cpp
@@ -171,7 +171,7 @@ namespace mongo {
Timer t;
for ( int i=0; i<3600; i++ ) {
if ( opReplicatedEnough( lastOpApplied , ( getSlaveCount() / 2 ) + 1 ) ) {
- LOG(t.seconds() < 30 ) << "moveChunk repl sync took " << t.seconds() << " seconds" << migrateLog;
+ LOG(t.seconds() < 30 ? 1 : 0) << "moveChunk repl sync took " << t.seconds() << " seconds" << migrateLog;
return;
}
sleepsecs(1);