Final fixes for MSVC

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
monroegm-disable-blank-issue-2
Esteban Papp 4 years ago
parent c6593bbdd3
commit 49d35e0788

@ -462,6 +462,7 @@ class CCryDocManager
CCrySingleDocTemplate* m_pDefTemplate = nullptr; CCrySingleDocTemplate* m_pDefTemplate = nullptr;
public: public:
CCryDocManager(); CCryDocManager();
virtual ~CCryDocManager() = default;
CCrySingleDocTemplate* SetDefaultTemplate(CCrySingleDocTemplate* pNew); CCrySingleDocTemplate* SetDefaultTemplate(CCrySingleDocTemplate* pNew);
// Copied from MFC to get rid of the silly ugly unoverridable doc-type pick dialog // Copied from MFC to get rid of the silly ugly unoverridable doc-type pick dialog
virtual void OnFileNew(); virtual void OnFileNew();

@ -79,6 +79,8 @@ CPythonScriptsDialog::CPythonScriptsDialog(QWidget* parent)
GetGemSourcePathsVisitor(AZ::SettingsRegistryInterface& settingsRegistry) GetGemSourcePathsVisitor(AZ::SettingsRegistryInterface& settingsRegistry)
: m_settingsRegistry(settingsRegistry) : m_settingsRegistry(settingsRegistry)
{} {}
using AZ::SettingsRegistryInterface::Visitor::Visit;
void Visit(AZStd::string_view path, AZStd::string_view, AZ::SettingsRegistryInterface::Type, void Visit(AZStd::string_view path, AZStd::string_view, AZ::SettingsRegistryInterface::Type,
AZStd::string_view value) override AZStd::string_view value) override
{ {

@ -92,6 +92,8 @@ namespace Export
: public IData : public IData
{ {
public: public:
virtual ~CData() = default;
virtual int GetObjectCount() const { return static_cast<int>(m_objects.size()); } virtual int GetObjectCount() const { return static_cast<int>(m_objects.size()); }
virtual Object* GetObject(int index) const { return m_objects[index]; } virtual Object* GetObject(int index) const { return m_objects[index]; }
virtual Object* AddObject(const char* objectName); virtual Object* AddObject(const char* objectName);

@ -25,6 +25,8 @@ public:
} }
public: public:
virtual ~CEditorMock() = default;
MOCK_METHOD0(DeleteThis, void()); MOCK_METHOD0(DeleteThis, void());
MOCK_METHOD0(GetSystem, ISystem*()); MOCK_METHOD0(GetSystem, ISystem*());
MOCK_METHOD0(GetClassFactory, IEditorClassFactory* ()); MOCK_METHOD0(GetClassFactory, IEditorClassFactory* ());

@ -743,9 +743,6 @@ private:
//! Only called once after creation by ObjectManager. //! Only called once after creation by ObjectManager.
void SetClassDesc(CObjectClassDesc* classDesc); void SetClassDesc(CObjectClassDesc* classDesc);
// From CObject, (not implemented)
virtual void Serialize([[maybe_unused]] CArchive& ar) {};
EScaleWarningLevel GetScaleWarningLevel() const; EScaleWarningLevel GetScaleWarningLevel() const;
ERotationWarningLevel GetRotationWarningLevel() const; ERotationWarningLevel GetRotationWarningLevel() const;

@ -116,7 +116,8 @@ public:
void UpdateVisibility(bool bVisible); void UpdateVisibility(bool bVisible);
bool ConvertFromObject(CBaseObject* object); bool ConvertFromObject(CBaseObject* object);
virtual void Serialize(CObjectArchive& ar); using CBaseObject::Serialize;
void Serialize(CObjectArchive& ar) override;
virtual void PostLoad(CObjectArchive& ar); virtual void PostLoad(CObjectArchive& ar);
XmlNodeRef Export(const QString& levelPath, XmlNodeRef& xmlNode); XmlNodeRef Export(const QString& levelPath, XmlNodeRef& xmlNode);

@ -52,6 +52,7 @@ public:
GUID guid; GUID guid;
public: public:
virtual ~CXMLObjectClassDesc() = default;
REFGUID ClassID() override REFGUID ClassID() override
{ {
return guid; return guid;

@ -117,6 +117,7 @@ class CTrackViewKeyBundle
public: public:
CTrackViewKeyBundle() CTrackViewKeyBundle()
: m_bAllOfSameType(true) {} : m_bAllOfSameType(true) {}
virtual ~CTrackViewKeyBundle() = default;
virtual bool AreAllKeysOfSameType() const override { return m_bAllOfSameType; } virtual bool AreAllKeysOfSameType() const override { return m_bAllOfSameType; }

@ -379,11 +379,11 @@ AZ_POP_DISABLE_DLL_EXPORT_BASECLASS_WARNING
public: public:
virtual ~CVariableBase() {} virtual ~CVariableBase() {}
void SetName(const QString& name) { m_name = name; }; void SetName(const QString& name) override { m_name = name; };
//! Get name of parameter. //! Get name of parameter.
QString GetName() const { return m_name; }; QString GetName() const override { return m_name; };
QString GetHumanName() const QString GetHumanName() const override
{ {
if (!m_humanName.isEmpty()) if (!m_humanName.isEmpty())
{ {
@ -391,23 +391,23 @@ public:
} }
return m_name; return m_name;
} }
void SetHumanName(const QString& name) { m_humanName = name; } void SetHumanName(const QString& name) override { m_humanName = name; }
void SetDescription(const char* desc) { m_description = desc; }; void SetDescription(const char* desc) override { m_description = desc; };
void SetDescription(const QString& desc) { m_description = desc; }; void SetDescription(const QString& desc) override { m_description = desc; };
//! Get name of parameter. //! Get name of parameter.
QString GetDescription() const { return m_description; }; QString GetDescription() const override { return m_description; };
EType GetType() const { return IVariable::UNKNOWN; }; EType GetType() const { return IVariable::UNKNOWN; };
int GetSize() const { return sizeof(*this); }; int GetSize() const override { return sizeof(*this); };
unsigned char GetDataType() const { return m_dataType; }; unsigned char GetDataType() const override { return m_dataType; };
void SetDataType(unsigned char dataType) { m_dataType = dataType; } void SetDataType(unsigned char dataType) override { m_dataType = dataType; }
void SetFlags(int flags) { m_flags = static_cast<uint16>(flags); } void SetFlags(int flags) override { m_flags = static_cast<uint16>(flags); }
int GetFlags() const { return m_flags; } int GetFlags() const override { return m_flags; }
void SetFlagRecursive(EFlags flag) { m_flags |= flag; } void SetFlagRecursive(EFlags flag) override { m_flags |= flag; }
void SetUserData(const QVariant &data){ m_userData = data; }; void SetUserData(const QVariant &data){ m_userData = data; };
QVariant GetUserData() const { return m_userData; } QVariant GetUserData() const { return m_userData; }
@ -415,58 +415,58 @@ public:
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// Set methods. // Set methods.
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void Set([[maybe_unused]] int value) { assert(0); } void Set([[maybe_unused]] int value) override { assert(0); }
void Set([[maybe_unused]] bool value) { assert(0); } void Set([[maybe_unused]] bool value) override { assert(0); }
void Set([[maybe_unused]] float value) { assert(0); } void Set([[maybe_unused]] float value) override { assert(0); }
void Set([[maybe_unused]] double value) { assert(0); } void Set([[maybe_unused]] double value) override { assert(0); }
void Set([[maybe_unused]] const Vec2& value) { assert(0); } void Set([[maybe_unused]] const Vec2& value) override { assert(0); }
void Set([[maybe_unused]] const Vec3& value) { assert(0); } void Set([[maybe_unused]] const Vec3& value) override { assert(0); }
void Set([[maybe_unused]] const Vec4& value) { assert(0); } void Set([[maybe_unused]] const Vec4& value) override { assert(0); }
void Set([[maybe_unused]] const Ang3& value) { assert(0); } void Set([[maybe_unused]] const Ang3& value) override { assert(0); }
void Set([[maybe_unused]] const Quat& value) { assert(0); } void Set([[maybe_unused]] const Quat& value) override { assert(0); }
void Set([[maybe_unused]] const QString& value) { assert(0); } void Set([[maybe_unused]] const QString& value) override { assert(0); }
void Set([[maybe_unused]] const char* value) { assert(0); } void Set([[maybe_unused]] const char* value) override { assert(0); }
void SetDisplayValue(const QString& value) { Set(value); } void SetDisplayValue(const QString& value) override { Set(value); }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// Get methods. // Get methods.
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void Get([[maybe_unused]] int& value) const { assert(0); } void Get([[maybe_unused]] int& value) const override { assert(0); }
void Get([[maybe_unused]] bool& value) const { assert(0); } void Get([[maybe_unused]] bool& value) const override { assert(0); }
void Get([[maybe_unused]] float& value) const { assert(0); } void Get([[maybe_unused]] float& value) const override { assert(0); }
void Get([[maybe_unused]] double& value) const { assert(0); } void Get([[maybe_unused]] double& value) const override { assert(0); }
void Get([[maybe_unused]] Vec2& value) const { assert(0); } void Get([[maybe_unused]] Vec2& value) const override { assert(0); }
void Get([[maybe_unused]] Vec3& value) const { assert(0); } void Get([[maybe_unused]] Vec3& value) const override { assert(0); }
void Get([[maybe_unused]] Vec4& value) const { assert(0); } void Get([[maybe_unused]] Vec4& value) const override { assert(0); }
void Get([[maybe_unused]] Ang3& value) const { assert(0); } void Get([[maybe_unused]] Ang3& value) const override { assert(0); }
void Get([[maybe_unused]] Quat& value) const { assert(0); } void Get([[maybe_unused]] Quat& value) const override { assert(0); }
void Get([[maybe_unused]] QString& value) const { assert(0); } void Get([[maybe_unused]] QString& value) const override { assert(0); }
QString GetDisplayValue() const { QString val; Get(val); return val; } QString GetDisplayValue() const override { QString val; Get(val); return val; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// IVariableContainer functions // IVariableContainer functions
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
virtual void AddVariable([[maybe_unused]] IVariable* var) { assert(0); } void AddVariable([[maybe_unused]] IVariable* var) override { assert(0); }
virtual bool DeleteVariable([[maybe_unused]] IVariable* var, [[maybe_unused]] bool recursive = false) { return false; } bool DeleteVariable([[maybe_unused]] IVariable* var, [[maybe_unused]] bool recursive = false) override { return false; }
virtual void DeleteAllVariables() {} void DeleteAllVariables() override {}
virtual int GetNumVariables() const { return 0; } int GetNumVariables() const override { return 0; }
virtual IVariable* GetVariable([[maybe_unused]] int index) const { return nullptr; } IVariable* GetVariable([[maybe_unused]] int index) const override { return nullptr; }
virtual bool IsContainsVariable([[maybe_unused]] IVariable* pVar, [[maybe_unused]] bool bRecursive = false) const { return false; } bool IsContainsVariable([[maybe_unused]] IVariable* pVar, [[maybe_unused]] bool bRecursive = false) const override { return false; }
virtual IVariable* FindVariable([[maybe_unused]] const char* name, [[maybe_unused]] bool bRecursive = false, [[maybe_unused]] bool bHumanName = false) const { return nullptr; } IVariable* FindVariable([[maybe_unused]] const char* name, [[maybe_unused]] bool bRecursive = false, [[maybe_unused]] bool bHumanName = false) const override { return nullptr; }
virtual bool IsEmpty() const { return true; } bool IsEmpty() const override { return true; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void Wire(IVariable* var) void Wire(IVariable* var) override
{ {
m_wiredVars.push_back(var); m_wiredVars.push_back(var);
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void Unwire(IVariable* var) void Unwire(IVariable* var) override
{ {
if (!var) if (!var)
{ {
@ -480,7 +480,7 @@ public:
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void AddOnSetCallback(OnSetCallback* func) void AddOnSetCallback(OnSetCallback* func) override
{ {
if (!stl::find(m_onSetFuncs, func)) if (!stl::find(m_onSetFuncs, func))
{ {
@ -489,13 +489,13 @@ public:
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void RemoveOnSetCallback(OnSetCallback* func) void RemoveOnSetCallback(OnSetCallback* func) override
{ {
stl::find_and_erase(m_onSetFuncs, func); stl::find_and_erase(m_onSetFuncs, func);
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void ClearOnSetCallbacks() void ClearOnSetCallbacks() override
{ {
m_onSetFuncs.clear(); m_onSetFuncs.clear();
} }
@ -509,7 +509,7 @@ public:
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void RemoveOnSetEnumCallback(OnSetCallback* func) void RemoveOnSetEnumCallback(OnSetCallback* func) override
{ {
stl::find_and_erase(m_onSetEnumFuncs, func); stl::find_and_erase(m_onSetEnumFuncs, func);
} }
@ -520,7 +520,7 @@ public:
} }
virtual void OnSetValue([[maybe_unused]] bool bRecursive) void OnSetValue([[maybe_unused]] bool bRecursive) override
{ {
// If have wired variables or OnSet callback, process them. // If have wired variables or OnSet callback, process them.
// Send value to wired variable. // Send value to wired variable.
@ -549,7 +549,8 @@ public:
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void Serialize(XmlNodeRef node, bool load) using IVariable::Serialize;
void Serialize(XmlNodeRef node, bool load) override
{ {
if (load) if (load)
{ {
@ -567,8 +568,8 @@ public:
} }
} }
virtual void EnableUpdateCallbacks(bool boEnable){m_boUpdateCallbacksEnabled = boEnable; }; void EnableUpdateCallbacks(bool boEnable) override{m_boUpdateCallbacksEnabled = boEnable; };
virtual void SetForceModified(bool bForceModified) { m_bForceModified = bForceModified; } void SetForceModified(bool bForceModified) override { m_bForceModified = bForceModified; }
protected: protected:
// Constructor. // Constructor.
CVariableBase() CVariableBase()
@ -641,13 +642,13 @@ public:
CVariableArray(){} CVariableArray(){}
//! Get name of parameter. //! Get name of parameter.
virtual EType GetType() const { return IVariable::ARRAY; }; EType GetType() const override { return IVariable::ARRAY; };
virtual int GetSize() const { return sizeof(CVariableArray); }; int GetSize() const override { return sizeof(CVariableArray); };
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// Set methods. // Set methods.
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
virtual void Set(const QString& value) void Set(const QString& value) override
{ {
if (m_strValue != value) if (m_strValue != value)
{ {
@ -655,7 +656,7 @@ public:
OnSetValue(false); OnSetValue(false);
} }
} }
void OnSetValue(bool bRecursive) void OnSetValue(bool bRecursive) override
{ {
CVariableBase::OnSetValue(bRecursive); CVariableBase::OnSetValue(bRecursive);
if (bRecursive) if (bRecursive)
@ -666,7 +667,7 @@ public:
} }
} }
} }
void SetFlagRecursive(EFlags flag) void SetFlagRecursive(EFlags flag) override
{ {
CVariableBase::SetFlagRecursive(flag); CVariableBase::SetFlagRecursive(flag);
for (Variables::iterator it = m_vars.begin(); it != m_vars.end(); ++it) for (Variables::iterator it = m_vars.begin(); it != m_vars.end(); ++it)
@ -677,9 +678,9 @@ public:
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// Get methods. // Get methods.
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
virtual void Get(QString& value) const { value = m_strValue; } void Get(QString& value) const override { value = m_strValue; }
virtual bool HasDefaultValue() const bool HasDefaultValue() const override
{ {
for (Variables::const_iterator it = m_vars.begin(); it != m_vars.end(); ++it) for (Variables::const_iterator it = m_vars.begin(); it != m_vars.end(); ++it)
{ {
@ -691,7 +692,7 @@ public:
return true; return true;
} }
virtual void ResetToDefault() void ResetToDefault() override
{ {
for (Variables::const_iterator it = m_vars.begin(); it != m_vars.end(); ++it) for (Variables::const_iterator it = m_vars.begin(); it != m_vars.end(); ++it)
{ {
@ -700,7 +701,7 @@ public:
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
IVariable* Clone(bool bRecursive) const IVariable* Clone(bool bRecursive) const override
{ {
CVariableArray* var = new CVariableArray(*this); CVariableArray* var = new CVariableArray(*this);
@ -713,7 +714,7 @@ public:
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void CopyValue(IVariable* fromVar) void CopyValue(IVariable* fromVar) override
{ {
assert(fromVar); assert(fromVar);
if (fromVar->GetType() != IVariable::ARRAY) if (fromVar->GetType() != IVariable::ARRAY)
@ -733,20 +734,20 @@ public:
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
virtual int GetNumVariables() const { return static_cast<int>(m_vars.size()); } int GetNumVariables() const override { return static_cast<int>(m_vars.size()); }
virtual IVariable* GetVariable(int index) const IVariable* GetVariable(int index) const override
{ {
assert(index >= 0 && index < (int)m_vars.size()); assert(index >= 0 && index < (int)m_vars.size());
return m_vars[index]; return m_vars[index];
} }
virtual void AddVariable(IVariable* var) void AddVariable(IVariable* var) override
{ {
m_vars.push_back(var); m_vars.push_back(var);
} }
virtual bool DeleteVariable(IVariable* var, bool recursive /*=false*/) bool DeleteVariable(IVariable* var, bool recursive /*=false*/) override
{ {
bool found = stl::find_and_erase(m_vars, var); bool found = stl::find_and_erase(m_vars, var);
if (!found && recursive) if (!found && recursive)
@ -762,12 +763,12 @@ public:
return found; return found;
} }
virtual void DeleteAllVariables() void DeleteAllVariables() override
{ {
m_vars.clear(); m_vars.clear();
} }
virtual bool IsContainsVariable(IVariable* pVar, bool bRecursive) const bool IsContainsVariable(IVariable* pVar, bool bRecursive) const override
{ {
for (Variables::const_iterator it = m_vars.begin(); it != m_vars.end(); ++it) for (Variables::const_iterator it = m_vars.begin(); it != m_vars.end(); ++it)
{ {
@ -793,14 +794,15 @@ public:
return false; return false;
} }
virtual IVariable* FindVariable(const char* name, bool bRecursive, bool bHumanName) const; IVariable* FindVariable(const char* name, bool bRecursive, bool bHumanName) const override;
virtual bool IsEmpty() const bool IsEmpty() const override
{ {
return m_vars.empty(); return m_vars.empty();
} }
void Serialize(XmlNodeRef node, bool load) using IVariable::Serialize;
void Serialize(XmlNodeRef node, bool load) override
{ {
if (load) if (load)
{ {
@ -1074,11 +1076,11 @@ class CVariableVoid
{ {
public: public:
CVariableVoid(){}; CVariableVoid(){};
virtual EType GetType() const { return IVariable::UNKNOWN; }; EType GetType() const override { return IVariable::UNKNOWN; };
virtual IVariable* Clone([[maybe_unused]] bool bRecursive) const { return new CVariableVoid(*this); } IVariable* Clone([[maybe_unused]] bool bRecursive) const override { return new CVariableVoid(*this); }
virtual void CopyValue([[maybe_unused]] IVariable* fromVar) {}; void CopyValue([[maybe_unused]] IVariable* fromVar) override {};
virtual bool HasDefaultValue() const { return true; } bool HasDefaultValue() const override { return true; }
virtual void ResetToDefault() {}; void ResetToDefault() override {};
protected: protected:
CVariableVoid(const CVariableVoid& v) CVariableVoid(const CVariableVoid& v)
: CVariableBase(v) {}; : CVariableBase(v) {};

@ -397,6 +397,7 @@ public:
//! This method return a vector (p2-p1) in world space alligned to construction plane and restriction axises. //! This method return a vector (p2-p1) in world space alligned to construction plane and restriction axises.
//! p1 and p2 must be given in world space and lie on construction plane. //! p1 and p2 must be given in world space and lie on construction plane.
using CViewport::GetCPVector;
virtual Vec3 GetCPVector(const Vec3& p1, const Vec3& p2, int axis); virtual Vec3 GetCPVector(const Vec3& p1, const Vec3& p2, int axis);
//! Snap any given 3D world position to grid lines if snap is enabled. //! Snap any given 3D world position to grid lines if snap is enabled.

@ -81,6 +81,8 @@ public:
struct MockRecognizerConfiguration struct MockRecognizerConfiguration
: public RecognizerConfiguration : public RecognizerConfiguration
{ {
virtual ~MockRecognizerConfiguration() = default;
const RecognizerContainer& GetAssetRecognizerContainer() const override const RecognizerContainer& GetAssetRecognizerContainer() const override
{ {
return m_recognizerContainer; return m_recognizerContainer;

@ -22,6 +22,8 @@ namespace AssetProcessor
struct MockRecognizerConfiguration struct MockRecognizerConfiguration
: public RecognizerConfiguration : public RecognizerConfiguration
{ {
virtual ~MockRecognizerConfiguration() = default;
const RecognizerContainer& GetAssetRecognizerContainer() const override const RecognizerContainer& GetAssetRecognizerContainer() const override
{ {
return m_container; return m_container;

@ -84,6 +84,8 @@ namespace AssetProcessor
return !m_platformIdentifierStack.empty() ? AZ::SettingsRegistryInterface::VisitResponse::Continue return !m_platformIdentifierStack.empty() ? AZ::SettingsRegistryInterface::VisitResponse::Continue
: AZ::SettingsRegistryInterface::VisitResponse::Skip; : AZ::SettingsRegistryInterface::VisitResponse::Skip;
} }
using AZ::SettingsRegistryInterface::Visitor::Visit;
void Visit([[maybe_unused]] AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override void Visit([[maybe_unused]] AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override
{ {
if (m_platformIdentifierStack.empty()) if (m_platformIdentifierStack.empty())
@ -114,6 +116,7 @@ namespace AssetProcessor
struct MetaDataTypesVisitor struct MetaDataTypesVisitor
: AZ::SettingsRegistryInterface::Visitor : AZ::SettingsRegistryInterface::Visitor
{ {
using AZ::SettingsRegistryInterface::Visitor::Visit;
void Visit([[maybe_unused]] AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override void Visit([[maybe_unused]] AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override
{ {
m_metaDataTypes.push_back({ AZ::IO::PathView(valueName, AZ::IO::PosixPathSeparator).LexicallyNormal().String(), value }); m_metaDataTypes.push_back({ AZ::IO::PathView(valueName, AZ::IO::PosixPathSeparator).LexicallyNormal().String(), value });

@ -49,6 +49,7 @@ namespace AssetProcessor
{ {
} }
using AZ::SettingsRegistryInterface::Visitor::Visit;
void Visit(AZStd::string_view path, AZStd::string_view, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override; void Visit(AZStd::string_view path, AZStd::string_view, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override;
AZ::SettingsRegistryInterface* m_settingsRegistry; AZ::SettingsRegistryInterface* m_settingsRegistry;
@ -129,6 +130,8 @@ namespace AssetProcessor
{ {
AZ::SettingsRegistryInterface::VisitResponse Traverse(AZStd::string_view jsonPath, AZStd::string_view valueName, AZ::SettingsRegistryInterface::VisitResponse Traverse(AZStd::string_view jsonPath, AZStd::string_view valueName,
AZ::SettingsRegistryInterface::VisitAction action, AZ::SettingsRegistryInterface::Type) override; AZ::SettingsRegistryInterface::VisitAction action, AZ::SettingsRegistryInterface::Type) override;
using AZ::SettingsRegistryInterface::Visitor::Visit;
void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZ::s64 value) override; void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZ::s64 value) override;
void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override; void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override;
@ -152,6 +155,8 @@ namespace AssetProcessor
{ {
AZ::SettingsRegistryInterface::VisitResponse Traverse(AZStd::string_view jsonPath, AZStd::string_view valueName, AZ::SettingsRegistryInterface::VisitResponse Traverse(AZStd::string_view jsonPath, AZStd::string_view valueName,
AZ::SettingsRegistryInterface::VisitAction action, AZ::SettingsRegistryInterface::Type) override; AZ::SettingsRegistryInterface::VisitAction action, AZ::SettingsRegistryInterface::Type) override;
using AZ::SettingsRegistryInterface::Visitor::Visit;
void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override; void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override;
AZStd::vector<ExcludeAssetRecognizer> m_excludeAssetRecognizers; AZStd::vector<ExcludeAssetRecognizer> m_excludeAssetRecognizers;
@ -169,6 +174,8 @@ namespace AssetProcessor
} }
AZ::SettingsRegistryInterface::VisitResponse Traverse(AZStd::string_view jsonPath, AZStd::string_view valueName, AZ::SettingsRegistryInterface::VisitResponse Traverse(AZStd::string_view jsonPath, AZStd::string_view valueName,
AZ::SettingsRegistryInterface::VisitAction action, AZ::SettingsRegistryInterface::Type) override; AZ::SettingsRegistryInterface::VisitAction action, AZ::SettingsRegistryInterface::Type) override;
using AZ::SettingsRegistryInterface::Visitor::Visit;
void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, bool value) override; void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, bool value) override;
void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZ::s64 value) override; void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZ::s64 value) override;
void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override; void Visit(AZStd::string_view path, AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override;

@ -494,6 +494,7 @@ namespace AZ
return AZ::SettingsRegistryInterface::VisitResponse::Continue; return AZ::SettingsRegistryInterface::VisitResponse::Continue;
} }
using AZ::SettingsRegistryInterface::Visitor::Visit;
void Visit(AZStd::string_view, [[maybe_unused]] AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override void Visit(AZStd::string_view, [[maybe_unused]] AZStd::string_view valueName, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override
{ {
if (m_processingSourcePathKey) if (m_processingSourcePathKey)
@ -656,6 +657,7 @@ namespace AZ
return AZ::SettingsRegistryInterface::VisitResponse::Continue; return AZ::SettingsRegistryInterface::VisitResponse::Continue;
} }
using AZ::SettingsRegistryInterface::Visitor::Visit;
void Visit(AZStd::string_view path, AZStd::string_view valueName, [[maybe_unused]] AZ::SettingsRegistryInterface::Type type, void Visit(AZStd::string_view path, AZStd::string_view valueName, [[maybe_unused]] AZ::SettingsRegistryInterface::Type type,
AZStd::string_view value) override AZStd::string_view value) override
{ {

Loading…
Cancel
Save