diff options
author | Victor Costan <costan@google.com> | 2020-04-28 16:41:33 +0000 |
---|---|---|
committer | Victor Costan <costan@google.com> | 2020-04-28 18:05:22 +0000 |
commit | 23d67e7c1f4396919bd0c73c0eced13a0dac37f3 (patch) | |
tree | 816e2df98067de964805c004bd60b1a5f5a973d2 /db | |
parent | 98a3b8cf6531220c5ecfe124ebfe7d29deb1251b (diff) | |
download | leveldb-23d67e7c1f4396919bd0c73c0eced13a0dac37f3.tar.gz |
Fix C++11 build.
PiperOrigin-RevId: 308839805
Diffstat (limited to 'db')
-rw-r--r-- | db/skiplist_test.cc | 3 |
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) { |