diff options
Diffstat (limited to 'src/mongo/util/bson_util.h')
-rw-r--r-- | src/mongo/util/bson_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/bson_util.h b/src/mongo/util/bson_util.h index b198f5a2798..db873bdfd45 100644 --- a/src/mongo/util/bson_util.h +++ b/src/mongo/util/bson_util.h @@ -41,7 +41,7 @@ void bsonArrToNumVector(BSONElement el, std::vector<T>& results){ if(el.type() == Array){ - vector<BSONElement> elements = el.Array(); + std::vector<BSONElement> elements = el.Array(); for(std::vector<BSONElement>::iterator i = elements.begin(); i != elements.end(); ++i){ results.push_back( (T) (*i).Number() ); |