File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -716,13 +716,13 @@ const fs::path &GetBlocksDir()
716716}
717717
718718static Mutex g_datadir_path_mutex;
719- static fs::path pathCached GUARDED_BY (g_datadir_path_mutex);
720- static fs::path pathCachedNetSpecific GUARDED_BY (g_datadir_path_mutex);
719+ static fs::path g_datadir_path_cached GUARDED_BY (g_datadir_path_mutex);
720+ static fs::path g_datadir_path_cached_net_specific GUARDED_BY (g_datadir_path_mutex);
721721
722722const fs::path &GetDataDir (bool fNetSpecific )
723723{
724724 LOCK (g_datadir_path_mutex);
725- fs::path &path = fNetSpecific ? pathCachedNetSpecific : pathCached ;
725+ fs::path &path = fNetSpecific ? g_datadir_path_cached_net_specific : g_datadir_path_cached ;
726726
727727 // Cache the path to avoid calling fs::create_directories on every call of
728728 // this function
@@ -761,8 +761,8 @@ void ClearDatadirCache()
761761 WITH_LOCK (g_blocksdir_path_mutex, g_blocks_path_cache_net_specific = fs::path ());
762762
763763 LOCK (g_datadir_path_mutex);
764- pathCached = fs::path ();
765- pathCachedNetSpecific = fs::path ();
764+ g_datadir_path_cached = fs::path ();
765+ g_datadir_path_cached_net_specific = fs::path ();
766766}
767767
768768fs::path GetConfigFile (const std::string& confPath)
You can’t perform that action at this time.
0 commit comments