Skip to content
Snippets Groups Projects
Commit a0f0517c authored by Perttu Ahola's avatar Perttu Ahola
Browse files

should work now

parent b4568216
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,11 @@ bool RecursiveDelete(std::string path)
int r = SHFileOperation(&sfo);
return (r == 0);
if(r != 0)
std::cerr<<"SHFileOperation returned "<<r<<std::endl;
//return (r == 0);
return true;
}
#else // POSIX
......
......@@ -41,6 +41,7 @@ bool CreateDir(std::string path);
bool PathExists(std::string path);
// Only pass full paths to this one. True on success.
// NOTE: The WIN32 version returns always true.
bool RecursiveDelete(std::string path);
// Only pass full paths to this one. True on success.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment