File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ class CChat
155155public:
156156 CChat (void ){};
157157 CChat (CGUI* pManager, const CVector2D& vecPosition);
158- ~CChat (void );
158+ virtual ~CChat ();
159159
160160 virtual void Draw (bool bUseCacheTexture, bool bAllowOutline);
161161 virtual void Output (const char * szText, bool bColorCoded = true );
@@ -198,8 +198,9 @@ class CChat
198198 void LoadCVars (void );
199199
200200protected:
201+ virtual void UpdatePosition (void );
202+
201203 void UpdateGUI (void );
202- void UpdatePosition (void );
203204 void UpdateSmoothScroll (float * pfPixelScroll, int * piLineScroll);
204205 void DrawDrawList (const SDrawList& drawList, const CVector2D& topLeftOffset = CVector2D(0 , 0 ));
205206 void GetDrawList (SDrawList& outDrawList, bool bUsingOutline);
Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ class CDebugView : public CChat
2828
2929protected:
3030 // Debug view doesn't support position changes unlike chat box
31- void UpdatePosition (void ) {};
31+ void UpdatePosition () override {};
3232};
You can’t perform that action at this time.
0 commit comments