mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-06 14:19:59 -05:00
build: Minor leveldb subtree update
This commit is contained in:
commit
fa0c32eb74
2 changed files with 4 additions and 4 deletions
|
@ -850,7 +850,7 @@ class SingletonEnv {
|
||||||
public:
|
public:
|
||||||
SingletonEnv() {
|
SingletonEnv() {
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
env_initialized_.store(true, std::memory_order::memory_order_relaxed);
|
env_initialized_.store(true, std::memory_order_relaxed);
|
||||||
#endif // !defined(NDEBUG)
|
#endif // !defined(NDEBUG)
|
||||||
static_assert(sizeof(env_storage_) >= sizeof(EnvType),
|
static_assert(sizeof(env_storage_) >= sizeof(EnvType),
|
||||||
"env_storage_ will not fit the Env");
|
"env_storage_ will not fit the Env");
|
||||||
|
@ -867,7 +867,7 @@ class SingletonEnv {
|
||||||
|
|
||||||
static void AssertEnvNotInitialized() {
|
static void AssertEnvNotInitialized() {
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
assert(!env_initialized_.load(std::memory_order::memory_order_relaxed));
|
assert(!env_initialized_.load(std::memory_order_relaxed));
|
||||||
#endif // !defined(NDEBUG)
|
#endif // !defined(NDEBUG)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -798,7 +798,7 @@ class SingletonEnv {
|
||||||
public:
|
public:
|
||||||
SingletonEnv() {
|
SingletonEnv() {
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
env_initialized_.store(true, std::memory_order::memory_order_relaxed);
|
env_initialized_.store(true, std::memory_order_relaxed);
|
||||||
#endif // !defined(NDEBUG)
|
#endif // !defined(NDEBUG)
|
||||||
static_assert(sizeof(env_storage_) >= sizeof(EnvType),
|
static_assert(sizeof(env_storage_) >= sizeof(EnvType),
|
||||||
"env_storage_ will not fit the Env");
|
"env_storage_ will not fit the Env");
|
||||||
|
@ -815,7 +815,7 @@ class SingletonEnv {
|
||||||
|
|
||||||
static void AssertEnvNotInitialized() {
|
static void AssertEnvNotInitialized() {
|
||||||
#if !defined(NDEBUG)
|
#if !defined(NDEBUG)
|
||||||
assert(!env_initialized_.load(std::memory_order::memory_order_relaxed));
|
assert(!env_initialized_.load(std::memory_order_relaxed));
|
||||||
#endif // !defined(NDEBUG)
|
#endif // !defined(NDEBUG)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue