diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-11 12:41:55 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-11 12:41:55 +0200 |
commit | 19e37c05d6ddcd70bc60286654a6a42731bbba4e (patch) | |
tree | 2d6bbc2475f8d2815457f1f53f8258366c94a415 /src/common/util.h | |
parent | Merge pull request #5366 (diff) | |
parent | util: name replace_file arguments better (diff) | |
download | monero-19e37c05d6ddcd70bc60286654a6a42731bbba4e.tar.xz |
Merge pull request #5367
07b716bf util: name replace_file arguments better (moneromooo-monero)
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h index 77a5a9af6..f6d5c9b1f 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -145,7 +145,7 @@ namespace tools bool create_directories_if_necessary(const std::string& path); /*! \brief std::rename wrapper for nix and something strange for windows. */ - std::error_code replace_file(const std::string& replacement_name, const std::string& replaced_name); + std::error_code replace_file(const std::string& old_name, const std::string& new_name); bool sanitize_locale(); |