"...git@developer.sourcefind.cn:OpenDAS/deepspeed.git" did not exist on "5bcc463d05955ba7a11238450d039978a2d67387"
Commit 5bde3fad authored by Davis King's avatar Davis King
Browse files

merged

parents 7c29fbb1 a22d4559
...@@ -736,6 +736,7 @@ namespace dlib ...@@ -736,6 +736,7 @@ namespace dlib
// Now that we know the state is safely saved to disk, delete the old sync // Now that we know the state is safely saved to disk, delete the old sync
// file and move the .tmp file to it. // file and move the .tmp file to it.
std::remove(sync_filename.c_str());
std::rename(tempfile.c_str(), sync_filename.c_str()); std::rename(tempfile.c_str(), sync_filename.c_str());
last_sync_time = std::chrono::system_clock::now(); last_sync_time = std::chrono::system_clock::now();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment