diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-21 01:03:32 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-21 01:10:14 +0200 |
commit | 934b153a2caba4071a614e5b3ef40feeaff631d4 (patch) | |
tree | 3d95becb8f49ad812227c5f3bfafddec4c72f6d3 /src/chainparamsbase.h | |
parent | 25308337d659108e3320257fb6c1c16d5fe24aa9 (diff) | |
parent | 20e01b1a03819d843a860284033b48a5e3b65ff7 (diff) |
Merge pull request #4933
20e01b1 Apply clang-format on some infrequently-updated files (Pieter Wuille)
Diffstat (limited to 'src/chainparamsbase.h')
-rw-r--r-- | src/chainparamsbase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h index 743c8c541a..c054f03f17 100644 --- a/src/chainparamsbase.h +++ b/src/chainparamsbase.h @@ -26,6 +26,7 @@ public: const std::string& DataDir() const { return strDataDir; } int RPCPort() const { return nRPCPort; } Network NetworkID() const { return networkID; } + protected: CBaseChainParams() {} @@ -38,7 +39,7 @@ protected: * Return the currently selected parameters. This won't change after app startup * outside of the unit tests. */ -const CBaseChainParams &BaseParams(); +const CBaseChainParams& BaseParams(); /** Sets the params returned by Params() to those for the given network. */ void SelectBaseParams(CBaseChainParams::Network network); |