summaryrefslogtreecommitdiff
path: root/src/mongo/util/uuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/uuid.h')
-rw-r--r--src/mongo/util/uuid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/uuid.h b/src/mongo/util/uuid.h
index 401738d4400..de3a9c3f543 100644
--- a/src/mongo/util/uuid.h
+++ b/src/mongo/util/uuid.h
@@ -125,7 +125,7 @@ public:
* Returns a ConstDataRange view of the UUID.
*/
ConstDataRange toCDR() const {
- return ConstDataRange(reinterpret_cast<const char*>(_uuid.data()), _uuid.size());
+ return ConstDataRange(_uuid);
}
/**