diff options
Diffstat (limited to 'src/lib/scoped_temporary.cc')
| -rw-r--r-- | src/lib/scoped_temporary.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/scoped_temporary.cc b/src/lib/scoped_temporary.cc index 0ead7b165..fec938cb1 100644 --- a/src/lib/scoped_temporary.cc +++ b/src/lib/scoped_temporary.cc @@ -19,9 +19,10 @@ */ -#include "scoped_temporary.h" -#include "exceptions.h" #include "cross.h" +#include "exceptions.h" +#include "scoped_temporary.h" +#include <dcp/filesystem.h> /** Construct a ScopedTemporary. A temporary filename is decided but the file is not opened @@ -40,7 +41,7 @@ ScopedTemporary::~ScopedTemporary () _file->close(); } boost::system::error_code ec; - boost::filesystem::remove (_path, ec); + dcp::filesystem::remove(_path, ec); } |
