mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-30 22:43:24 +02:00
Enhancement
- Eliminated all unlink calls.
This commit is contained in:
parent
b596e96b43
commit
81acaa6ae0
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include "Directory.h"
|
||||
#include "File.h"
|
||||
#include "Date.h"
|
||||
#include "Duration.h"
|
||||
#include "text.h"
|
||||
|
@ -593,7 +594,7 @@ ARE_THESE_REALLY_HARMFUL:
|
|||
std::cout << "No edits were detected." << std::endl;
|
||||
|
||||
// Cleanup.
|
||||
unlink (file.str ().c_str ());
|
||||
File::remove (file.str ());
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue