We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db30fbb commit 4bef7e2Copy full SHA for 4bef7e2
System/Reader.cpp
@@ -49,8 +49,8 @@ namespace RTE {
49
50
m_CanFail = failOK;
51
52
- m_Stream = std::make_unique<std::ifstream>(fileName);
53
- if (!m_CanFail) { RTEAssert(System::PathExistsCaseSensitive(fileName) && m_Stream->good(), "Failed to open data file \"" + m_FilePath + "\"!"); }
+ m_Stream = std::make_unique<std::ifstream>(m_FilePath);
+ if (!m_CanFail) { RTEAssert(System::PathExistsCaseSensitive(m_FilePath) && m_Stream->good(), "Failed to open data file \"" + m_FilePath + "\"!"); }
54
55
m_OverwriteExisting = overwrites;
56
0 commit comments