summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_test.cpp')
-rw-r--r--src/mongo/db/matcher/expression_test.cpp16
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 );