summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/match_details.h
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2016-11-17 14:09:29 -0500
committerTess Avitabile <tess.avitabile@mongodb.com>2016-11-17 14:09:46 -0500
commit5c3f83de911a2d7a512954349925b3c6056b886e (patch)
treeeb85a00682c39e7a7270b5beb4053b1ed9a1d5f8 /src/mongo/db/matcher/match_details.h
parentd9c598ac6d5f79cde4d5439eb21f773b025e917f (diff)
downloadmongo-5c3f83de911a2d7a512954349925b3c6056b886e.tar.gz
Revert "SERVER-14662 Reject ambiguous positional projections and updates"
This reverts commit 2eea3f09aea9c92df9aa0d4e47840869bf04d7b8.
Diffstat (limited to 'src/mongo/db/matcher/match_details.h')
-rw-r--r--src/mongo/db/matcher/match_details.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/matcher/match_details.h b/src/mongo/db/matcher/match_details.h
index aaaa64e4ccd..15a0a606678 100644
--- a/src/mongo/db/matcher/match_details.h
+++ b/src/mongo/db/matcher/match_details.h
@@ -73,14 +73,9 @@ public:
void setElemMatchKey(const std::string& elemMatchKey);
- bool isValid() const {
- return _isValid;
- }
-
private:
bool _loadedRecord;
bool _elemMatchKeyRequested;
- bool _isValid;
std::unique_ptr<std::string> _elemMatchKey;
};
}