+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: GeomAPI_Interface.cpp
// Created: 23 Apr 2014
// Author: Mikhail PONIKAROV
GeomAPI_Interface::~GeomAPI_Interface()
{
- if (myImpl)
+ if (myImpl) {
delete myImpl;
+ myImpl = 0;
+ }
}
-void* GeomAPI_Interface::implementation()
-{
- return myImpl;
-}
-
-void GeomAPI_Interface::setImplementation(void* theImpl)
+void GeomAPI_Interface::setImpl(void* theImpl)
{
if (myImpl)
delete myImpl;