mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
refactor: use C++11 default initializers
This commit is contained in:
parent
d5d40d59f8
commit
7aa40f5563
39 changed files with 57 additions and 88 deletions
|
|
@ -95,7 +95,7 @@ struct MemoryCheck {
|
|||
{
|
||||
return true;
|
||||
}
|
||||
MemoryCheck(){};
|
||||
MemoryCheck() = default;
|
||||
MemoryCheck(const MemoryCheck& x)
|
||||
{
|
||||
// We have to do this to make sure that destructor calls are paired
|
||||
|
|
@ -129,7 +129,7 @@ struct FrozenCleanupCheck {
|
|||
{
|
||||
return true;
|
||||
}
|
||||
FrozenCleanupCheck() {}
|
||||
FrozenCleanupCheck() = default;
|
||||
~FrozenCleanupCheck()
|
||||
{
|
||||
if (should_freeze) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue