Remove buggy method.

This commit is contained in:
Kim Kulling
2021-01-19 21:27:50 +01:00
committed by GitHub
parent 22f632d8d0
commit f05a57560b

View File

@@ -117,7 +117,7 @@ IOStream *DefaultIOSystem::Open(const char *strFile, const char *strMode) {
ai_assert(strMode != nullptr);
FILE *file;
#ifdef _WIN32
std::string name = Utf8ToWide(strFile).c_str();
std::string name = Utf8ToWide(strFile);
if (name.empty()) {
return nullptr;
}