From: mpv Date: Tue, 21 Nov 2017 10:42:51 +0000 (+0300) Subject: Fix for the issue #2283: Mismatched free() / delete / delete[] X-Git-Tag: V_2.10.0RC~154 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=361fa782fb2151c1303e847009a30441758444d6;p=modules%2Fshaper.git Fix for the issue #2283: Mismatched free() / delete / delete[] --- diff --git a/src/GeomAPI/GeomAPI_Trsf.cpp b/src/GeomAPI/GeomAPI_Trsf.cpp index 01a0e3f77..1262d4717 100644 --- a/src/GeomAPI/GeomAPI_Trsf.cpp +++ b/src/GeomAPI/GeomAPI_Trsf.cpp @@ -40,7 +40,7 @@ GeomAPI_Trsf::GeomAPI_Trsf() //================================================================================================= GeomAPI_Trsf::GeomAPI_Trsf(void* theTrsf) -: GeomAPI_Interface(theTrsf) +: GeomAPI_Interface((gp_Trsf*)theTrsf) { }