summaryrefslogtreecommitdiff
path: root/bson/stringdata.h
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2011-12-15 09:35:47 +0100
committerAntonin Kral <a.kral@bobek.cz>2011-12-15 09:35:47 +0100
commitf0d9a01bccdaeb466c12c92057914bbfef59526c (patch)
tree7679efa1f0daf7d1d906882a15dc77af6b7aef32 /bson/stringdata.h
parent5d342a758c6095b4d30aba0750b54f13b8916f51 (diff)
downloadmongodb-f0d9a01bccdaeb466c12c92057914bbfef59526c.tar.gz
Imported Upstream version 2.0.2
Diffstat (limited to 'bson/stringdata.h')
-rw-r--r--bson/stringdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bson/stringdata.h b/bson/stringdata.h
index 352dc51..1fb4e7d 100644
--- a/bson/stringdata.h
+++ b/bson/stringdata.h
@@ -61,7 +61,7 @@ namespace mongo {
// accessors
const char* data() const { return _data; }
- const unsigned size() const { return _size; }
+ unsigned size() const { return _size; }
private:
const char* const _data; // is always null terminated