summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/base/counter.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/base/counter.h b/src/mongo/base/counter.h
index 8fb2f4d2d51..3f2ddf7c8e1 100644
--- a/src/mongo/base/counter.h
+++ b/src/mongo/base/counter.h
@@ -35,9 +35,6 @@ namespace mongo {
/** Atomically increment (or decrement via negative value). */
void increment( uint64_t n = 1 ) { _counter.addAndFetch(n); }
- /** Atomically set value. */
- void set( uint64_t n ) { _counter.store(n); }
-
/** Return the current value */
long long get() const { return _counter.load(); }