From c78ea3cf208af983bebb58850f9f996843421255 Mon Sep 17 00:00:00 2001 From: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> Date: Fri, 3 Sep 2021 20:57:31 -0700 Subject: [PATCH] Final fixes for MSVC Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> --- Code/Legacy/CrySystem/XML/XMLBinaryNode.h | 1 + Code/Legacy/CrySystem/XML/xml.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Code/Legacy/CrySystem/XML/XMLBinaryNode.h b/Code/Legacy/CrySystem/XML/XMLBinaryNode.h index 34e0ca22ce..0ffcd3f19e 100644 --- a/Code/Legacy/CrySystem/XML/XMLBinaryNode.h +++ b/Code/Legacy/CrySystem/XML/XMLBinaryNode.h @@ -155,6 +155,7 @@ public: bool saveToFile([[maybe_unused]] const char* fileName, [[maybe_unused]] size_t chunkSizeBytes, [[maybe_unused]] AZ::IO::HandleType fileHandle = AZ::IO::InvalidHandle) { assert(0); return false; }; // save in small memory chunks //! Set new XML Node attribute (or override attribute with same key). + using IXmlNode::setAttr; void setAttr([[maybe_unused]] const char* key, [[maybe_unused]] const char* value) { assert(0); }; void setAttr([[maybe_unused]] const char* key, [[maybe_unused]] int value) { assert(0); }; void setAttr([[maybe_unused]] const char* key, [[maybe_unused]] unsigned int value) { assert(0); }; diff --git a/Code/Legacy/CrySystem/XML/xml.h b/Code/Legacy/CrySystem/XML/xml.h index 912767eae7..de02538c74 100644 --- a/Code/Legacy/CrySystem/XML/xml.h +++ b/Code/Legacy/CrySystem/XML/xml.h @@ -211,6 +211,7 @@ public: bool saveToFile(const char* fileName, size_t chunkSizeBytes, AZ::IO::HandleType fileHandle = AZ::IO::InvalidHandle); // save in small memory chunks //! Set new XML Node attribute (or override attribute with same key). + using IXmlNode::setAttr; void setAttr(const char* key, const char* value); void setAttr(const char* key, int value); void setAttr(const char* key, unsigned int value);