mirror of https://github.com/odrling/Aegisub
Add a long overload to UnknownElement for gcc
Originally committed to SVN as r5790.
This commit is contained in:
parent
f9f84b18f7
commit
0a04b62d1d
|
@ -65,6 +65,7 @@ public:
|
||||||
UnknownElement(const Array& array);
|
UnknownElement(const Array& array);
|
||||||
UnknownElement(double number);
|
UnknownElement(double number);
|
||||||
UnknownElement(int number);
|
UnknownElement(int number);
|
||||||
|
UnknownElement(long number);
|
||||||
UnknownElement(bool boolean);
|
UnknownElement(bool boolean);
|
||||||
UnknownElement(const char *string);
|
UnknownElement(const char *string);
|
||||||
UnknownElement(const String& string);
|
UnknownElement(const String& string);
|
||||||
|
|
|
@ -101,6 +101,7 @@ inline UnknownElement::UnknownElement(const Object& object) : m_pImp(
|
||||||
inline UnknownElement::UnknownElement(const Array& array) : m_pImp( new Imp_T<Array>(array) ) {}
|
inline UnknownElement::UnknownElement(const Array& array) : m_pImp( new Imp_T<Array>(array) ) {}
|
||||||
inline UnknownElement::UnknownElement(double number) : m_pImp( new Imp_T<Number>(number) ) {}
|
inline UnknownElement::UnknownElement(double number) : m_pImp( new Imp_T<Number>(number) ) {}
|
||||||
inline UnknownElement::UnknownElement(int number) : m_pImp( new Imp_T<Number>(number) ) {}
|
inline UnknownElement::UnknownElement(int number) : m_pImp( new Imp_T<Number>(number) ) {}
|
||||||
|
inline UnknownElement::UnknownElement(long number) : m_pImp( new Imp_T<Number>(number) ) {}
|
||||||
inline UnknownElement::UnknownElement(bool boolean) : m_pImp( new Imp_T<Boolean>(boolean) ) {}
|
inline UnknownElement::UnknownElement(bool boolean) : m_pImp( new Imp_T<Boolean>(boolean) ) {}
|
||||||
inline UnknownElement::UnknownElement(const char *string) : m_pImp( new Imp_T<String>(string) ) {}
|
inline UnknownElement::UnknownElement(const char *string) : m_pImp( new Imp_T<String>(string) ) {}
|
||||||
inline UnknownElement::UnknownElement(const String& string) : m_pImp( new Imp_T<String>(string) ) {}
|
inline UnknownElement::UnknownElement(const String& string) : m_pImp( new Imp_T<String>(string) ) {}
|
||||||
|
|
Loading…
Reference in New Issue