From: spo Date: Tue, 14 Jun 2016 10:13:35 +0000 (+0300) Subject: Make ModelHighAPI_Interface::getKind() const X-Git-Tag: V_2.4.0~91^2~57 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=95ec95cbfbf47d7f292939097fc09458f86ec182;p=modules%2Fshaper.git Make ModelHighAPI_Interface::getKind() const --- diff --git a/src/ModelHighAPI/ModelHighAPI_Interface.cpp b/src/ModelHighAPI/ModelHighAPI_Interface.cpp index e5a81879b..7e6c41d25 100644 --- a/src/ModelHighAPI/ModelHighAPI_Interface.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Interface.cpp @@ -28,7 +28,7 @@ std::shared_ptr ModelHighAPI_Interface::feature() const return myFeature; } -const std::string& ModelHighAPI_Interface::getKind() +const std::string& ModelHighAPI_Interface::getKind() const { return feature()->getKind(); } diff --git a/src/ModelHighAPI/ModelHighAPI_Interface.h b/src/ModelHighAPI/ModelHighAPI_Interface.h index c9719f41a..8298e9bad 100644 --- a/src/ModelHighAPI/ModelHighAPI_Interface.h +++ b/src/ModelHighAPI/ModelHighAPI_Interface.h @@ -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