From 617bde7cc61913f3bc47798e4c6c6cc9e611f454 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Mon, 10 May 2021 11:29:00 +0100 Subject: [PATCH] `ReadOnlyTest`: Use `RemoveFile` instead of `remove` --- Source/restrict.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/restrict.cpp b/Source/restrict.cpp index 10ccc2dc..4ea62695 100644 --- a/Source/restrict.cpp +++ b/Source/restrict.cpp @@ -22,7 +22,7 @@ void ReadOnlyTest() DirErrorDlg(paths::PrefPath().c_str()); } - remove(path.c_str()); + RemoveFile(path.c_str()); } } // namespace devilution