diff options
author | Kiminuo <kiminuo@protonmail.com> | 2021-05-20 22:28:06 +0200 |
---|---|---|
committer | Kiminuo <kiminuo@protonmail.com> | 2021-05-22 15:43:42 +0200 |
commit | 716de29dd8672d28bfe0a08424e9958fe61054d2 (patch) | |
tree | 06f10bdf11dd27755d686cd1503fbf01c22c889c /src/util/system.cpp | |
parent | be4171679b8eab8205e04ff86140329bd67878a0 (diff) |
Make `m_cached_blocks_path` mutable. Make `ArgsManager::GetBlocksDirPath()` const.
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r-- | src/util/system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index 9b3bd46b38..06684c78ad 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -388,7 +388,7 @@ std::optional<unsigned int> ArgsManager::GetArgFlags(const std::string& name) co return std::nullopt; } -const fs::path& ArgsManager::GetBlocksDirPath() +const fs::path& ArgsManager::GetBlocksDirPath() const { LOCK(cs_args); fs::path& path = m_cached_blocks_path; |