diff options
Diffstat (limited to 'tools/memory_watcher')
-rw-r--r-- | tools/memory_watcher/memory_watcher.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/memory_watcher/memory_watcher.cc b/tools/memory_watcher/memory_watcher.cc index 0d05fcb..a240b92 100644 --- a/tools/memory_watcher/memory_watcher.cc +++ b/tools/memory_watcher/memory_watcher.cc @@ -82,7 +82,8 @@ void MemoryWatcher::CloseLogFile() { file_ = NULL; std::wstring tmp_name = ASCIIToWide(file_name_); tmp_name += L".tmp"; - file_util::Move(tmp_name, ASCIIToWide(file_name_)); + file_util::Move(FilePath::FromWStringHack(tmp_name), + FilePath::FromWStringHack(ASCIIToWide(file_name_))); } } |