diff options
Diffstat (limited to 'lib/System/Win32/Path.cpp')
-rw-r--r-- | lib/System/Win32/Path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/Win32/Path.cpp b/lib/System/Win32/Path.cpp index d76dcd0017..3e179eaf48 100644 --- a/lib/System/Win32/Path.cpp +++ b/lib/System/Win32/Path.cpp @@ -503,7 +503,7 @@ Path::createFile() { } bool -Path::destroyDirectory(bool remove_contents) { +Path::destroyDirectory(bool remove_contents) const { // Make sure we're dealing with a directory if (!isDirectory()) return false; @@ -532,7 +532,7 @@ Path::destroyDirectory(bool remove_contents) { } bool -Path::destroyFile() { +Path::destroyFile() const { if (!isFile()) return false; DWORD attr = GetFileAttributes(path.c_str()); |