mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Compilation fixes for C++20
This commit is contained in:
parent
e16351605b
commit
1940becb2d
40 changed files with 220 additions and 211 deletions
|
|
@ -789,7 +789,7 @@ DefineTSShapeConstructorMethod(writeChangeSet, void, (), ,
|
|||
while (!f.isEOF())
|
||||
{
|
||||
const char* buffer = (const char*)f.readLine();
|
||||
if (!String::compare(buffer, beginMessage))
|
||||
if (!String::compare(buffer, beginMessage.c_str()))
|
||||
break;
|
||||
stream->writeText(buffer);
|
||||
stream->writeText("\r\n");
|
||||
|
|
@ -810,7 +810,7 @@ DefineTSShapeConstructorMethod(writeChangeSet, void, (), ,
|
|||
while (!f.isEOF())
|
||||
{
|
||||
const char* buffer = (const char*)f.readLine();
|
||||
if (!String::compare(buffer, endMessage))
|
||||
if (!String::compare(buffer, endMessage.c_str()))
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue