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:
AzaezelX 2024-06-10 13:15:27 -05:00
parent 3fbd3119a6
commit 5c701fe09e
5 changed files with 17 additions and 11 deletions

View file

@ -52,6 +52,7 @@ public:
const UTF8 *value(const UTF8 *settingName, const UTF8 *defaultValue = "");
void remove(const UTF8 *settingName, bool includeDefaults = false);
void clearAllFields();
void write(Stream& stream, U32 tabStop, U32 flags = 0) override { Con::errorf("Settings: Can Not write a file interface object to a file"); }; //Don't allow writing Settings objects *to* files
bool write();
bool read();
void readLayer(SimXMLDocument *document, String groupStack = String(""));