diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-04-29 14:02:47 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2013-04-29 14:51:37 -0400 |
commit | b13db37280d9cfca51e1e5e59bf5956295ac61b6 (patch) | |
tree | e602017cc1e2dc9c630f48ea9698856eca65496b /src/mongo/db/matcher/expression_test.cpp | |
parent | f58d431f45a0db9812e67641f429c692c3207201 (diff) | |
download | mongo-b13db37280d9cfca51e1e5e59bf5956295ac61b6.tar.gz |
SERVER-6400 - move MatchDetails out of matcher.h
Diffstat (limited to 'src/mongo/db/matcher/expression_test.cpp')
-rw-r--r-- | src/mongo/db/matcher/expression_test.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mongo/db/matcher/expression_test.cpp b/src/mongo/db/matcher/expression_test.cpp index 44424e11d64..f9df13c253f 100644 --- a/src/mongo/db/matcher/expression_test.cpp +++ b/src/mongo/db/matcher/expression_test.cpp @@ -24,27 +24,11 @@ #include "mongo/bson/bsonobjbuilder.h" #include "mongo/bson/bsonmisc.h" #include "mongo/db/json.h" -#include "mongo/db/matcher.h" #include "mongo/db/matcher/expression.h" #include "mongo/db/matcher/expression_leaf.h" namespace mongo { - /// HACK HACK HACK - - MatchDetails::MatchDetails() : - _elemMatchKeyRequested() { - resetOutput(); - } - void MatchDetails::resetOutput() { - _loadedRecord = false; - _elemMatchKeyFound = false; - _elemMatchKey = ""; - } - - - // ---------------------- - TEST( ExpressionTest, Parse1 ) { //TreeExpression* e = NULL; //Status s = Expression::parse( BSON( "x" << 1 ), &e ); |