summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorVictor Costan <costan@google.com>2020-04-28 16:41:33 +0000
committerVictor Costan <costan@google.com>2020-04-28 18:05:22 +0000
commit23d67e7c1f4396919bd0c73c0eced13a0dac37f3 (patch)
tree816e2df98067de964805c004bd60b1a5f5a973d2 /db
parent98a3b8cf6531220c5ecfe124ebfe7d29deb1251b (diff)
downloadleveldb-23d67e7c1f4396919bd0c73c0eced13a0dac37f3.tar.gz
Fix C++11 build.
PiperOrigin-RevId: 308839805
Diffstat (limited to 'db')
-rw-r--r--db/skiplist_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/skiplist_test.cc b/db/skiplist_test.cc
index 9c70c5b..b548017 100644
--- a/db/skiplist_test.cc
+++ b/db/skiplist_test.cc
@@ -281,6 +281,9 @@ class ConcurrentTest {
}
};
+// Needed when building in C++11 mode.
+constexpr uint32_t ConcurrentTest::K;
+
// Simple test that does single-threaded testing of the ConcurrentTest
// scaffolding.
TEST(SkipTest, ConcurrentWithoutThreads) {