mac compilation correction - verve templates order of operation compiles

This commit is contained in:
Brian Roberts 2019-05-21 19:33:35 -05:00
parent da492a589e
commit 5a11340af2

View file

@ -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 )
{
// Create Doc.
@ -73,7 +75,6 @@ namespace VPersistence
return xmlDocument.SaveFile( pFileName );
};
template <class T> bool write( 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 )
{
TiXmlDocument xmlDocument;
@ -176,8 +179,6 @@ namespace VPersistence
return true;
};
template <class T> bool read( TiXmlElement *pElement, T *pObject );
template <class T> bool readProperties( TiXmlElement *pElement, T *pObject )
{
TiXmlElement *propertyRoot = pElement->FirstChildElement( "Properties" );
@ -283,4 +284,4 @@ namespace VPersistence
//-----------------------------------------------------------------------------
#endif // _VT_VPERSISTENCE_H_
#endif // _VT_VPERSISTENCE_H_