From bb8d1c6e029a2fd01387599d2ff3bfc879a8ada5 Mon Sep 17 00:00:00 2001 From: Kiminuo Date: Fri, 26 Feb 2021 09:52:50 +0100 Subject: Change ClearDataDirPathCache() to ArgsManager.ClearPathCache(). --- src/util/system.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/util/system.h') diff --git a/src/util/system.h b/src/util/system.h index fcdb04bb8d..61f862c93a 100644 --- a/src/util/system.h +++ b/src/util/system.h @@ -94,8 +94,6 @@ fs::path GetDefaultDataDir(); const fs::path &GetDataDir(bool fNetSpecific = true); // Return true if -datadir option points to a valid directory or is not specified. bool CheckDataDirOption(); -/** Tests only */ -void ClearDatadirCache(); fs::path GetConfigFile(const std::string& confPath); #ifdef WIN32 fs::path GetSpecialFolderPath(int nFolder, bool fCreate = true); @@ -281,9 +279,9 @@ public: const fs::path& GetDataDirPath(bool net_specific = true) const; /** - * For testing + * Clear cached directory paths */ - void ClearDatadirPathCache(); + void ClearPathCache(); /** * Return a vector of strings of the given argument -- cgit v1.2.3