add comment re C++17 to MSWindowsUtil.cpp

This commit is contained in:
walker0643 2018-04-01 14:57:22 -04:00
parent 42a8f69050
commit 9e7792e2ae
1 changed files with 9 additions and 0 deletions

View File

@ -63,6 +63,15 @@ MSWindowsUtil::getErrorString(HINSTANCE hinstance, DWORD error, DWORD id)
}
}
/*
This is a quick and dirty iterative CreateDirectory() wrapper that does zero
error checking. A much better cross-platform option exists in C++17 via
std::filesystem. If/when the project is updated to use 17 this function should
absolutley be replaced!
*/
void
MSWindowsUtil::createDirectory(const std::string& path, bool stripLast)
{