summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/skiplist_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/db/skiplist_test.cc b/db/skiplist_test.cc
index 7c5d09b..9c70c5b 100644
--- a/db/skiplist_test.cc
+++ b/db/skiplist_test.cc
@@ -151,7 +151,7 @@ TEST(SkipTest, InsertAndLookup) {
// been concurrently added since the iterator started.
class ConcurrentTest {
private:
- static const uint32_t K = 4;
+ static constexpr uint32_t K = 4;
static uint64_t key(Key key) { return (key >> 40); }
static uint64_t gen(Key key) { return (key >> 8) & 0xffffffffu; }
@@ -280,7 +280,6 @@ class ConcurrentTest {
}
}
};
-const uint32_t ConcurrentTest::K;
// Simple test that does single-threaded testing of the ConcurrentTest
// scaffolding.