0029151: GCC 7.1 warnings "this statement may fall through" [-Wimplicit-fallthrough=]
[occt.git] / src / NCollection / NCollection_WinHeapAllocator.hxx
index 7fdff03..3a10fd2 100644 (file)
@@ -42,13 +42,13 @@ public:
   Standard_EXPORT virtual ~NCollection_WinHeapAllocator();
 
   //! Allocate memory
-  Standard_EXPORT virtual void* Allocate (const Standard_Size theSize);
+  Standard_EXPORT virtual void* Allocate (const Standard_Size theSize) Standard_OVERRIDE;
 
   //! Release memory
-  Standard_EXPORT virtual void  Free (void* theAddress);
+  Standard_EXPORT virtual void  Free (void* theAddress) Standard_OVERRIDE;
 
   // Declaration of CASCADE RTTI
-  DEFINE_STANDARD_RTTI(NCollection_WinHeapAllocator, NCollection_BaseAllocator)
+  DEFINE_STANDARD_RTTIEXT(NCollection_WinHeapAllocator,NCollection_BaseAllocator)
 
 private:
   //! Copy constructor - prohibited