summaryrefslogtreecommitdiff
path: root/bson/stringdata.h
diff options
context:
space:
mode:
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