]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Make ModelHighAPI_Interface::getKind() const
authorspo <sergey.pokhodenko@opencascade.com>
Tue, 14 Jun 2016 10:13:35 +0000 (13:13 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Fri, 17 Jun 2016 11:41:07 +0000 (14:41 +0300)
src/ModelHighAPI/ModelHighAPI_Interface.cpp
src/ModelHighAPI/ModelHighAPI_Interface.h

index e5a81879b60666638e283fe2d1aa742e0ab9e049..7e6c41d257081652746f4819fd9fb7cce89dcc60 100644 (file)
@@ -28,7 +28,7 @@ std::shared_ptr<ModelAPI_Feature> ModelHighAPI_Interface::feature() const
   return myFeature;
 }
 
-const std::string& ModelHighAPI_Interface::getKind()
+const std::string& ModelHighAPI_Interface::getKind() const
 {
   return feature()->getKind();
 }
index c9719f41a7f230a2a098d551b0460c6155f54bfb..8298e9badf17a0a557449af01f0a91d883a69f82 100644 (file)
@@ -35,7 +35,7 @@ public:
 
   /// Shortcut for feature()->getKind()
   MODELHIGHAPI_EXPORT
-  const std::string& getKind();
+  const std::string& getKind() const;
 
   /// Shortcut for feature()->execute()
   MODELHIGHAPI_EXPORT