X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMESDS%2FSALOMESDS_RefCountServ.cxx;h=5f8a9f95167cc56d314343a2248751699e0dbaf1;hb=e429ce02076e083051c6520e0d7113022bd67b18;hp=1e03c16f070836c858a9912e310e823e5fc7e7ae;hpb=703cf8ca778de35a6b463d4b4fca7c36697d717f;p=modules%2Fkernel.git diff --git a/src/SALOMESDS/SALOMESDS_RefCountServ.cxx b/src/SALOMESDS/SALOMESDS_RefCountServ.cxx index 1e03c16f0..5f8a9f951 100644 --- a/src/SALOMESDS/SALOMESDS_RefCountServ.cxx +++ b/src/SALOMESDS/SALOMESDS_RefCountServ.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -38,14 +38,6 @@ bool RefCountServ::decrRef() const return ret; } -void RefCountServ::enforcedRelease() -{ - PortableServer::POA_var poa(getPOA()); - PortableServer::ObjectId_var oid(poa->servant_to_id(this)); - poa->deactivate_object(oid); - _remove_ref(); -} - RefCountServ::RefCountServ():_cnt(1) { }