1
0

undo remove warnings

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6377 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
engineer_apple
2022-05-03 23:00:00 +00:00
parent cf12a37521
commit f0efd5857d
5 changed files with 7 additions and 7 deletions

View File

@@ -207,7 +207,7 @@ void CXMLWriter::writeText(const wchar_t* text)
// Making a member-variable would work, but a lot of memory would stay around after writing.
// So the correct solution is probably using fixed block here and always write when that is full.
core::stringw s;
s.reserve((u32)wcslen(text)+1);
s.reserve(wcslen(text)+1);
const wchar_t* p = text;
while(*p)
@@ -424,7 +424,7 @@ void CXMLWriterUTF8::writeText(const c8* text)
// Making a member-variable would work, but a lot of memory would stay around after writing.
// So the correct solution is probably using fixed block here and always write when that is full.
core::stringc s;
s.reserve((u32)strlen(text)+1);
s.reserve(strlen(text)+1);
const c8* p = text;
while(*p)