summaryrefslogtreecommitdiff
path: root/src/mongo/client/parallel.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-03-26 12:58:35 -0400
committerEliot Horowitz <eliot@10gen.com>2012-03-26 12:58:52 -0400
commitbd6d0c99195e324e14390205e2bc6ff88c01e365 (patch)
treef9306b37b7d3302b4dd6e5f628fcf9886a09cf15 /src/mongo/client/parallel.h
parenta56eef7bd9a5d390182ea64118e11420b052a380 (diff)
downloadmongo-bd6d0c99195e324e14390205e2bc6ff88c01e365.tar.gz
replace assert with verify SERVER-1259
Diffstat (limited to 'src/mongo/client/parallel.h')
-rw-r--r--src/mongo/client/parallel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/parallel.h b/src/mongo/client/parallel.h
index b48330b6ac6..c566d92c046 100644
--- a/src/mongo/client/parallel.h
+++ b/src/mongo/client/parallel.h
@@ -417,12 +417,12 @@ namespace mongo {
bool isDone() const { return _done; }
bool ok() const {
- assert( _done );
+ verify( _done );
return _ok;
}
BSONObj result() const {
- assert( _done );
+ verify( _done );
return _res;
}