From 372fdc4c57aaaba0943f6b642dc9d612e2f889fe Mon Sep 17 00:00:00 2001 From: Alayan <25536748+Alayan-stk-2@users.noreply.github.com> Date: Fri, 5 Jul 2024 17:15:08 +0200 Subject: [PATCH] Fix #5125 --- lib/irrlicht/include/irrXML.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/irrlicht/include/irrXML.h b/lib/irrlicht/include/irrXML.h index 024c64118..819982563 100644 --- a/lib/irrlicht/include/irrXML.h +++ b/lib/irrlicht/include/irrXML.h @@ -371,13 +371,13 @@ namespace io struct xmlChar { T c; - xmlChar() {} - xmlChar(char in) : c(static_cast(in)) {} - xmlChar(wchar_t in) : c(static_cast(in)) {} - explicit xmlChar(unsigned char in) : c(static_cast(in)) {} - explicit xmlChar(unsigned short in) : c(static_cast(in)) {} - explicit xmlChar(unsigned int in) : c(static_cast(in)) {} - explicit xmlChar(unsigned long in) : c(static_cast(in)) {} + xmlChar() {} + xmlChar(char in) : c(static_cast(in)) {} + xmlChar(wchar_t in) : c(static_cast(in)) {} + explicit xmlChar(unsigned char in) : c(static_cast(in)) {} + explicit xmlChar(unsigned short in) : c(static_cast(in)) {} + explicit xmlChar(unsigned int in) : c(static_cast(in)) {} + explicit xmlChar(unsigned long in) : c(static_cast(in)) {} operator T() const { return c; } void operator=(int t) { c=static_cast(t); } };