Merge pull request #5367

07b716bf util: name replace_file arguments better (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-04-11 12:41:55 +02:00
commit 19e37c05d6
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
2 changed files with 5 additions and 5 deletions

View file

@ -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();