0029310: Coding - multiple compiler warnings in Inspectors
[occt.git] / tools / View / View_Widget.hxx
index 06d6ccb..a84ff72 100644 (file)
 #include <inspector/View_ViewActionType.hxx>
 #include <inspector/View_Viewer.hxx>
 
-#ifdef _MSC_VER
-  #pragma warning(disable : 4127 4718) // conditional expression is constant, recursive call has no side effects
-#endif
+#include <Standard_WarningsDisable.hxx>
 #include <QAction>
 #include <QMap>
 #include <QString>
 #include <QWidget>
+#include <Standard_WarningsRestore.hxx>
 
 class View_Viewer;