Skip to content

Commit

Permalink
Fix #5125
Browse files Browse the repository at this point in the history
  • Loading branch information
Alayan-stk-2 committed Jul 5, 2024
1 parent ffa49dd commit 372fdc4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/irrlicht/include/irrXML.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,13 @@ namespace io
struct xmlChar
{
T c;
xmlChar<T>() {}
xmlChar<T>(char in) : c(static_cast<T>(in)) {}
xmlChar<T>(wchar_t in) : c(static_cast<T>(in)) {}
explicit xmlChar<T>(unsigned char in) : c(static_cast<T>(in)) {}
explicit xmlChar<T>(unsigned short in) : c(static_cast<T>(in)) {}
explicit xmlChar<T>(unsigned int in) : c(static_cast<T>(in)) {}
explicit xmlChar<T>(unsigned long in) : c(static_cast<T>(in)) {}
xmlChar() {}
xmlChar(char in) : c(static_cast<T>(in)) {}
xmlChar(wchar_t in) : c(static_cast<T>(in)) {}
explicit xmlChar(unsigned char in) : c(static_cast<T>(in)) {}
explicit xmlChar(unsigned short in) : c(static_cast<T>(in)) {}
explicit xmlChar(unsigned int in) : c(static_cast<T>(in)) {}
explicit xmlChar(unsigned long in) : c(static_cast<T>(in)) {}
operator T() const { return c; }
void operator=(int t) { c=static_cast<T>(t); }
};
Expand Down

0 comments on commit 372fdc4

Please sign in to comment.