mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 13:15:33 +08:00
add comment re C++17 to MSWindowsUtil.cpp
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user