]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Interface.h
Salome HOME
Prism algo interface changes for more convenient use in nested features.
[modules/shaper.git] / src / GeomAPI / GeomAPI_Interface.h
index 0e79a10f6c124f27db5cac305f21e49a3b8f6dbb..49db964fc715e995c1495ec72bfaf704fbaa05bd 100644 (file)
@@ -35,7 +35,7 @@ class GEOMAPI_EXPORT GeomAPI_Interface
     return static_cast<T*>(myImpl);
   }
   /// Returns the reference object of the impl
-  template<class T> inline const T& impl()
+  template<class T> inline const T& impl() const
   {
     return *(static_cast<T*>(myImpl));
   }