소스 검색

Remove buggy method.

Kim Kulling 4 년 전
부모
커밋
f05a57560b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      code/Common/DefaultIOSystem.cpp

+ 1 - 1
code/Common/DefaultIOSystem.cpp

@@ -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;
     }