0024567: Coding rules - eliminate GCC warning -Wignored-qualifiers
[occt.git] / src / OpenGl / OpenGl_Layer.hxx
index 4edce91..eda0572 100644 (file)
@@ -63,7 +63,7 @@ public:
   }
 
   //! Returns true if theSetting is enabled for the layer.
-  const Standard_Boolean IsSettingEnabled (const Graphic3d_ZLayerSetting theSetting) const
+  Standard_Boolean IsSettingEnabled (const Graphic3d_ZLayerSetting theSetting) const
   {
     return myLayerSettings.IsSettingEnabled (theSetting);
   }