diff --git a/Engine/source/console/consoleObject.h b/Engine/source/console/consoleObject.h index de168567e..634b60225 100644 --- a/Engine/source/console/consoleObject.h +++ b/Engine/source/console/consoleObject.h @@ -1205,7 +1205,7 @@ inline bool& ConsoleObject::getDynamicGroupExpand() static SimObjectRefConsoleBaseType< className > ptrRefType; \ static AbstractClassRep::WriteCustomTamlSchema getStaticWriteCustomTamlSchema(); \ static AbstractClassRep* getContainerChildStaticClassRep(); \ - virtual AbstractClassRep* getClassRep() const + AbstractClassRep* getClassRep() const override #define DECLARE_CATEGORY( string ) \ static const char* __category() { return string; } diff --git a/Engine/source/console/engineObject.h b/Engine/source/console/engineObject.h index 8ab9a6324..83297d09f 100644 --- a/Engine/source/console/engineObject.h +++ b/Engine/source/console/engineObject.h @@ -258,7 +258,7 @@ class EngineObject; static EngineClassTypeInfo< ThisType, _ClassBase > _smTypeInfo; \ static EngineExportScope& __engineExportScope(); \ static EnginePropertyTable& _smPropertyTable; \ - virtual const EngineTypeInfo* __typeinfo() const; \ + const EngineTypeInfo* __typeinfo() const override; \ public: /// Declare an abstract class @a type derived from the class @a super. diff --git a/Engine/source/math/util/decomposePoly.h b/Engine/source/math/util/decomposePoly.h index 884ac6123..8722bd3b8 100644 --- a/Engine/source/math/util/decomposePoly.h +++ b/Engine/source/math/util/decomposePoly.h @@ -16,7 +16,7 @@ public: inline bool twoIndices::operator==(const twoIndices& _test) const { - return ((i1 == _test.i1) && (i2 == _test.i2) || (i1 == _test.i2) && (i2 == _test.i1)); + return (((i1 == _test.i1) && (i2 == _test.i2)) || ((i1 == _test.i2) && (i2 == _test.i1))); }