summaryrefslogtreecommitdiff
path: root/src/mongo/util/synchronized_value.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/synchronized_value.h')
-rw-r--r--src/mongo/util/synchronized_value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/synchronized_value.h b/src/mongo/util/synchronized_value.h
index 75bc29c4101..9e5651366ee 100644
--- a/src/mongo/util/synchronized_value.h
+++ b/src/mongo/util/synchronized_value.h
@@ -132,7 +132,7 @@ public:
}
/** Lock and return a holder to the value and lock. Const or non-const. */
- auto operator-> () const {
+ auto operator->() const {
return synchronize();
}
auto operator*() const {
@@ -144,7 +144,7 @@ public:
}
/** Mutators */
- auto operator-> () {
+ auto operator->() {
return synchronize();
}
auto operator*() {