mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
mac compilation correction - verve templates order of operation compiles
This commit is contained in:
parent
da492a589e
commit
5a11340af2
1 changed files with 6 additions and 5 deletions
|
|
@ -48,6 +48,8 @@ namespace VPersistence
|
||||||
|
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
template <class T> bool write( TiXmlElement *pElement, T *pObject );
|
||||||
|
|
||||||
template <class T> bool writeFile( const char* pFileName, T *pObject )
|
template <class T> bool writeFile( const char* pFileName, T *pObject )
|
||||||
{
|
{
|
||||||
// Create Doc.
|
// Create Doc.
|
||||||
|
|
@ -73,7 +75,6 @@ namespace VPersistence
|
||||||
return xmlDocument.SaveFile( pFileName );
|
return xmlDocument.SaveFile( pFileName );
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class T> bool write( TiXmlElement *pElement, T *pObject );
|
|
||||||
|
|
||||||
template <class T> bool writeProperties( TiXmlElement *pElement, T *pObject )
|
template <class T> bool writeProperties( TiXmlElement *pElement, T *pObject )
|
||||||
{
|
{
|
||||||
|
|
@ -141,7 +142,9 @@ namespace VPersistence
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
template <class T> bool read( TiXmlElement *pElement, T *pObject );
|
||||||
|
|
||||||
template <class T> bool readFile( const char* pFileName, T *pObject )
|
template <class T> bool readFile( const char* pFileName, T *pObject )
|
||||||
{
|
{
|
||||||
TiXmlDocument xmlDocument;
|
TiXmlDocument xmlDocument;
|
||||||
|
|
@ -176,8 +179,6 @@ namespace VPersistence
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class T> bool read( TiXmlElement *pElement, T *pObject );
|
|
||||||
|
|
||||||
template <class T> bool readProperties( TiXmlElement *pElement, T *pObject )
|
template <class T> bool readProperties( TiXmlElement *pElement, T *pObject )
|
||||||
{
|
{
|
||||||
TiXmlElement *propertyRoot = pElement->FirstChildElement( "Properties" );
|
TiXmlElement *propertyRoot = pElement->FirstChildElement( "Properties" );
|
||||||
|
|
@ -283,4 +284,4 @@ namespace VPersistence
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#endif // _VT_VPERSISTENCE_H_
|
#endif // _VT_VPERSISTENCE_H_
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue