diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-07-29 13:47:52 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-07-29 13:47:52 -0400 |
commit | 02d597b594bfbc2707e15327af8b3aa68453b28e (patch) | |
tree | 0a50503f61d530bba1be2d8829342c45339c3825 | |
parent | a60415e5a662d39026e63d96f1b1b7846af34b50 (diff) | |
download | mongo-02d597b594bfbc2707e15327af8b3aa68453b28e.tar.gz |
use namespace in BSON macro
-rw-r--r-- | db/jsobj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/jsobj.h b/db/jsobj.h index f63d3bbb237..fd60cbfb552 100644 --- a/db/jsobj.h +++ b/db/jsobj.h @@ -830,7 +830,7 @@ namespace mongo { BSON( "a" << GT << 23.4 << NE << 30 << "b" << 2 ) produces the object { a: { \$gt: 23.4, \$ne: 30 }, b: 2 }. */ -#define BSON(x) (( BSONObjBuilder() << x ).obj()) +#define BSON(x) (( mongo::BSONObjBuilder() << x ).obj()) // Utility class to implement GT, GTE, etc as described above. class Labeler { |