summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonelement.h
diff options
context:
space:
mode:
authorMatt Cotter <matt.cotter@mongodb.com>2016-09-06 14:00:49 -0400
committerMatt Cotter <matt.cotter@mongodb.com>2016-09-08 13:31:31 -0400
commit383c6a87842a42a57abf2fc1dd8fd2724aadcb4f (patch)
tree324ba2d9f15fa7ced7dc56e88e3a5bbdc996e1b2 /src/mongo/bson/bsonelement.h
parenta51cbf02314c841f5685f02d73652f4963b02b1d (diff)
downloadmongo-383c6a87842a42a57abf2fc1dd8fd2724aadcb4f.tar.gz
SERVER-14596 move free function escape out of bsonelement
Diffstat (limited to 'src/mongo/bson/bsonelement.h')
-rw-r--r--src/mongo/bson/bsonelement.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/bson/bsonelement.h b/src/mongo/bson/bsonelement.h
index 86029aa1228..830e857deab 100644
--- a/src/mongo/bson/bsonelement.h
+++ b/src/mongo/bson/bsonelement.h
@@ -844,7 +844,4 @@ inline BSONElement::BSONElement() {
fieldNameSize_ = 0;
totalSize = 1;
}
-
-// TODO(SERVER-14596): move to a better place; take a StringData.
-std::string escape(const std::string& s, bool escape_slash = false);
}