diff options
Diffstat (limited to 'port/port_stdcxx.h')
-rw-r--r-- | port/port_stdcxx.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/port/port_stdcxx.h b/port/port_stdcxx.h index 4e58cba..4713e26 100644 --- a/port/port_stdcxx.h +++ b/port/port_stdcxx.h @@ -84,14 +84,6 @@ class CondVar { Mutex* const mu_; }; -using OnceType = std::once_flag; -#define LEVELDB_ONCE_INIT {} - -// Thinly wraps std::call_once. -inline void InitOnce(OnceType* once, void (*initializer)()) { - std::call_once(*once, *initializer); -} - inline bool Snappy_Compress(const char* input, size_t length, ::std::string* output) { #if HAVE_SNAPPY |