Skip to content

Commit c81bbcf

Browse files
committed
~NVI_ImageBordered() hides ~NVI_Image()
1 parent 8211280 commit c81bbcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/xrDXT/NVI_Image.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class NVI_Image
4949

5050
public:
5151
NVI_Image();
52-
~NVI_Image();
52+
virtual ~NVI_Image();
5353
virtual HRESULT Initialize(int width, int height, NVI_PIXEL_FORMAT format);
5454
virtual HRESULT Initialize(int width, int height, NVI_PIXEL_FORMAT format, u8* data);
5555
virtual HRESULT Free();
@@ -135,7 +135,7 @@ class NVI_ImageBordered : public NVI_Image
135135

136136
public:
137137
NVI_ImageBordered();
138-
~NVI_ImageBordered();
138+
~NVI_ImageBordered() override;
139139
HRESULT Initialize(NVI_Image** hSrcImage, const RECT* border, bool wrap);
140140
HRESULT Free();
141141
// i,j relative to src image, so i,j = 0 fetches from

0 commit comments

Comments
 (0)