mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 10:42:23 +02:00
util: Document why ArgsManager (con/de)structor is not inline
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <univalue.h> // For util::SettingsValue = UniValue
|
class UniValue;
|
||||||
|
|
||||||
namespace util {
|
namespace util {
|
||||||
|
|
||||||
|
@ -226,10 +226,11 @@ static bool CheckValid(const std::string& key, const util::SettingsValue& val, u
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
ArgsManager::ArgsManager()
|
// Define default constructor and destructor that are not inline, so code instantiating this class doesn't need to
|
||||||
{
|
// #include class definitions for all members.
|
||||||
// nothing to do
|
// For example, m_settings has an internal dependency on univalue.
|
||||||
}
|
ArgsManager::ArgsManager() {}
|
||||||
|
ArgsManager::~ArgsManager() {}
|
||||||
|
|
||||||
const std::set<std::string> ArgsManager::GetUnsuitableSectionOnlyArgs() const
|
const std::set<std::string> ArgsManager::GetUnsuitableSectionOnlyArgs() const
|
||||||
{
|
{
|
||||||
|
@ -192,6 +192,7 @@ protected:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
ArgsManager();
|
ArgsManager();
|
||||||
|
~ArgsManager();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Select the network in use
|
* Select the network in use
|
||||||
|
Reference in New Issue
Block a user