aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-11 12:41:55 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-11 12:41:55 +0200
commit19e37c05d6ddcd70bc60286654a6a42731bbba4e (patch)
tree2d6bbc2475f8d2815457f1f53f8258366c94a415 /src/common/util.h
parentMerge pull request #5366 (diff)
parentutil: name replace_file arguments better (diff)
downloadmonero-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.h2
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();