mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0026988: Fresh compiler warnings (VC++ 14, GCC 5.2.1, CLang 3.6.2)
Compiler warnings eliminated: - VC++: potential use of uninitialized variable - GCC: potential use of uninitialized variable [-Wmaybe-uninitialized], redundant const on return value [-Wignored-qualifiers] - CLang: missing override specifier on overloaded virtual function [-Winconsistent-missing-override], function call within typeid() [-Wpotentially-evaluated-expression]
This commit is contained in:
@@ -100,14 +100,6 @@ IVtkDraw_Interactor::~IVtkDraw_Interactor()
|
||||
{
|
||||
}
|
||||
|
||||
//===========================================================
|
||||
// Function : Copy constructor
|
||||
// Purpose :
|
||||
//===========================================================
|
||||
IVtkDraw_Interactor::IVtkDraw_Interactor (const IVtkDraw_Interactor& )
|
||||
{
|
||||
}
|
||||
|
||||
//===========================================================
|
||||
// Function : SetShapePicker
|
||||
// Purpose :
|
||||
|
@@ -69,10 +69,8 @@ public:
|
||||
|
||||
protected:
|
||||
IVtkDraw_Interactor();
|
||||
IVtkDraw_Interactor (const IVtkDraw_Interactor& );
|
||||
~IVtkDraw_Interactor();
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
friend LRESULT CALLBACK WndProc (HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lParam);
|
||||
friend LRESULT CALLBACK ViewerWindowProc (HWND hwnd,
|
||||
@@ -97,6 +95,10 @@ protected:
|
||||
void GetMousePosition (Standard_Integer *theX, Standard_Integer *theY);
|
||||
#endif
|
||||
|
||||
private:
|
||||
// copying is prohibited
|
||||
IVtkDraw_Interactor (const IVtkDraw_Interactor&);
|
||||
void operator = (const IVtkDraw_Interactor&);
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user