diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-03-02 15:27:18 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-03-02 15:25:48 +0100 |
commit | fa0c32eb74f448c67d0ff9d91dfdd66e2f1e4c48 (patch) | |
tree | 7da42323080c20a68b62ffa507119417a7e3c21a /src/leveldb/util | |
parent | 08bcfa27675da5c65e4c9eab7e7764eab0599298 (diff) | |
parent | 1b20109b04061304eab84cf921a030300b4f9fe3 (diff) | |
download | bitcoin-fa0c32eb74f448c67d0ff9d91dfdd66e2f1e4c48.tar.xz |
build: Minor leveldb subtree update
Diffstat (limited to 'src/leveldb/util')
-rw-r--r-- | src/leveldb/util/env_posix.cc | 4 | ||||
-rw-r--r-- | src/leveldb/util/env_windows.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/leveldb/util/env_posix.cc b/src/leveldb/util/env_posix.cc index 9f5863a0f3..18626b327c 100644 --- a/src/leveldb/util/env_posix.cc +++ b/src/leveldb/util/env_posix.cc @@ -850,7 +850,7 @@ class SingletonEnv { public: SingletonEnv() { #if !defined(NDEBUG) - env_initialized_.store(true, std::memory_order::memory_order_relaxed); + env_initialized_.store(true, std::memory_order_relaxed); #endif // !defined(NDEBUG) static_assert(sizeof(env_storage_) >= sizeof(EnvType), "env_storage_ will not fit the Env"); @@ -867,7 +867,7 @@ class SingletonEnv { static void AssertEnvNotInitialized() { #if !defined(NDEBUG) - assert(!env_initialized_.load(std::memory_order::memory_order_relaxed)); + assert(!env_initialized_.load(std::memory_order_relaxed)); #endif // !defined(NDEBUG) } diff --git a/src/leveldb/util/env_windows.cc b/src/leveldb/util/env_windows.cc index 1834206562..4dcba222a1 100644 --- a/src/leveldb/util/env_windows.cc +++ b/src/leveldb/util/env_windows.cc @@ -798,7 +798,7 @@ class SingletonEnv { public: SingletonEnv() { #if !defined(NDEBUG) - env_initialized_.store(true, std::memory_order::memory_order_relaxed); + env_initialized_.store(true, std::memory_order_relaxed); #endif // !defined(NDEBUG) static_assert(sizeof(env_storage_) >= sizeof(EnvType), "env_storage_ will not fit the Env"); @@ -815,7 +815,7 @@ class SingletonEnv { static void AssertEnvNotInitialized() { #if !defined(NDEBUG) - assert(!env_initialized_.load(std::memory_order::memory_order_relaxed)); + assert(!env_initialized_.load(std::memory_order_relaxed)); #endif // !defined(NDEBUG) } |