From 23d67e7c1f4396919bd0c73c0eced13a0dac37f3 Mon Sep 17 00:00:00 2001 From: Victor Costan Date: Tue, 28 Apr 2020 16:41:33 +0000 Subject: [PATCH] Fix C++11 build. PiperOrigin-RevId: 308839805 --- db/skiplist_test.cc | 3 +++ 1 file changed, 3 insertions(+) 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) {