mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +00:00
file write clarifications
handle clang complaints about hidden virtuals in the context of file writes that have thier own routes and I/O needs.
This commit is contained in:
parent
3fbd3119a6
commit
5c701fe09e
5 changed files with 17 additions and 11 deletions
|
|
@ -111,6 +111,7 @@ private:
|
|||
void compileCustomState( TamlWriteNode* pTamlWriteNode );
|
||||
void compileCustomNodeState( TamlCustomNode* pCustomNode );
|
||||
|
||||
void write(Stream& stream, U32 tabStop, U32 flags = 0) override { Con::errorf("Taml:Can Not write a file interface object to a file"); }; //Don't allow writing Taml objects *to* files
|
||||
bool write( FileStream& stream, SimObject* pSimObject, const TamlFormatMode formatMode );
|
||||
SimObject* read( FileStream& stream, const TamlFormatMode formatMode );
|
||||
template<typename T> inline T* read( FileStream& stream, const TamlFormatMode formatMode )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue