From fa23c35c1070057c83ffe5106c8e2bc229eea7e1 Mon Sep 17 00:00:00 2001 From: spo Date: Thu, 26 Nov 2015 15:02:36 +0300 Subject: [PATCH] Revert "Fix Warning in GeomAPI_Trsf" This reverts commit c8b4135f7e35126300582be751bef42c3ba2eec3. --- src/GeomAPI/GeomAPI_Trsf.cpp | 6 ++++++ src/GeomAPI/GeomAPI_Trsf.h | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) 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); -- 2.39.2