File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ std::optional<unsigned int> ArgsManager::GetArgFlags(const std::string& name) co
388
388
return std::nullopt;
389
389
}
390
390
391
- const fs::path& ArgsManager::GetBlocksDirPath ()
391
+ const fs::path& ArgsManager::GetBlocksDirPath () const
392
392
{
393
393
LOCK (cs_args);
394
394
fs::path& path = m_cached_blocks_path;
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ class ArgsManager
195
195
std::map<OptionsCategory, std::map<std::string, Arg>> m_available_args GUARDED_BY (cs_args);
196
196
bool m_accept_any_command GUARDED_BY (cs_args){true };
197
197
std::list<SectionInfo> m_config_sections GUARDED_BY (cs_args);
198
- fs::path m_cached_blocks_path GUARDED_BY (cs_args);
198
+ mutable fs::path m_cached_blocks_path GUARDED_BY (cs_args);
199
199
mutable fs::path m_cached_datadir_path GUARDED_BY (cs_args);
200
200
mutable fs::path m_cached_network_datadir_path GUARDED_BY (cs_args);
201
201
@@ -266,7 +266,7 @@ class ArgsManager
266
266
*
267
267
* @return Blocks path which is network specific
268
268
*/
269
- const fs::path& GetBlocksDirPath ();
269
+ const fs::path& GetBlocksDirPath () const ;
270
270
271
271
/* *
272
272
* Get data directory path
You can’t perform that action at this time.
0 commit comments