From 7aa40f55636be565441a9e0af8de0a346bfa4da2 Mon Sep 17 00:00:00 2001 From: fanquake Date: Wed, 11 May 2022 16:02:15 +0100 Subject: refactor: use C++11 default initializers --- src/util/system.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/system.cpp') diff --git a/src/util/system.cpp b/src/util/system.cpp index 44ebf5cb3e..7697991c4b 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -258,8 +258,8 @@ static std::optional InterpretValue(const KeyInfo& key, con // Define default constructor and destructor that are not inline, so code instantiating this class doesn't need to // #include class definitions for all members. // For example, m_settings has an internal dependency on univalue. -ArgsManager::ArgsManager() {} -ArgsManager::~ArgsManager() {} +ArgsManager::ArgsManager() = default; +ArgsManager::~ArgsManager() = default; const std::set ArgsManager::GetUnsuitableSectionOnlyArgs() const { -- cgit v1.2.3