From: spo Date: Thu, 26 Nov 2015 12:02:36 +0000 (+0300) Subject: Revert "Fix Warning in GeomAPI_Trsf" X-Git-Tag: V_2.1.0~231 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fa23c35c1070057c83ffe5106c8e2bc229eea7e1;p=modules%2Fshaper.git Revert "Fix Warning in GeomAPI_Trsf" This reverts commit c8b4135f7e35126300582be751bef42c3ba2eec3. --- diff --git a/src/GeomAPI/GeomAPI_Trsf.cpp b/src/GeomAPI/GeomAPI_Trsf.cpp index ca5c55abe..f0775141c 100644 --- a/src/GeomAPI/GeomAPI_Trsf.cpp +++ b/src/GeomAPI/GeomAPI_Trsf.cpp @@ -19,6 +19,12 @@ GeomAPI_Trsf::GeomAPI_Trsf() { } +//================================================================================================= +GeomAPI_Trsf::GeomAPI_Trsf(void* theTrsf) +: GeomAPI_Interface(theTrsf) +{ +} + //================================================================================================= void GeomAPI_Trsf::setTranslation(const std::shared_ptr theAxis, const double theDistance) diff --git a/src/GeomAPI/GeomAPI_Trsf.h b/src/GeomAPI/GeomAPI_Trsf.h index 7a84cfd78..d5f3ffd5b 100644 --- a/src/GeomAPI/GeomAPI_Trsf.h +++ b/src/GeomAPI/GeomAPI_Trsf.h @@ -22,13 +22,6 @@ class GeomAPI_Trsf : public GeomAPI_Interface public: /// Keeps no transformation, it may be set by setImpl GEOMAPI_EXPORT GeomAPI_Trsf(); - - /// Constructor by the impl pointer (used for internal needs) - template explicit GeomAPI_Trsf(T* theTrsf) - : GeomAPI_Interface(theTrsf) - { - } - /// Takes the pointer to existing transformation GEOMAPI_EXPORT GeomAPI_Trsf(void* theTrsf);