diff --git a/src/lib/platform/MSWindowsUtil.cpp b/src/lib/platform/MSWindowsUtil.cpp index 87b1ddc6..b657906e 100644 --- a/src/lib/platform/MSWindowsUtil.cpp +++ b/src/lib/platform/MSWindowsUtil.cpp @@ -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) {