mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge f13e03cda2 into merged_master (Bitcoin PR #20584)
This commit is contained in:
commit
e5cb4cb00e
19 changed files with 29 additions and 29 deletions
|
|
@ -26,7 +26,7 @@ static const unsigned int QUEUE_BATCH_SIZE = 128;
|
|||
static const int SCRIPT_CHECK_THREADS = 3;
|
||||
|
||||
struct FakeCheck {
|
||||
bool operator()()
|
||||
bool operator()() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
@ -47,7 +47,7 @@ struct FailingCheck {
|
|||
bool fails;
|
||||
FailingCheck(bool _fails) : fails(_fails){};
|
||||
FailingCheck() : fails(true){};
|
||||
bool operator()()
|
||||
bool operator()() const
|
||||
{
|
||||
return !fails;
|
||||
}
|
||||
|
|
@ -76,7 +76,7 @@ struct UniqueCheck {
|
|||
struct MemoryCheck {
|
||||
static std::atomic<size_t> fake_allocated_memory;
|
||||
bool b {false};
|
||||
bool operator()()
|
||||
bool operator()() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
@ -107,7 +107,7 @@ struct FrozenCleanupCheck {
|
|||
// Freezing can't be the default initialized behavior given how the queue
|
||||
// swaps in default initialized Checks.
|
||||
bool should_freeze {false};
|
||||
bool operator()()
|
||||
bool operator()() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue