X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBasics%2FBasicsGenericDestructor.hxx;h=2476b15f6bf7fa9ea97f15c4c8d5544feb5007b1;hb=1bbffef73eeeb5b2a14d8fc7bdf91affdafae664;hp=927dbbcee8c3ff33bdf7b61f3336e1caad1ca11f;hpb=718e0abe0126e5e53b3ba41fff1028efcf5bc887;p=modules%2Fkernel.git diff --git a/src/Basics/BasicsGenericDestructor.hxx b/src/Basics/BasicsGenericDestructor.hxx index 927dbbcee..2476b15f6 100644 --- a/src/Basics/BasicsGenericDestructor.hxx +++ b/src/Basics/BasicsGenericDestructor.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -67,7 +67,7 @@ * This class is utilised with GENERIC_DESTRUCTOR and DESTRUCTOR_OF, * to program automatic deletion of objects at the end of the process, while * keeping the possibility of an early destruction, if required. This is used - * for unit testing and trace mecanism. + * for unit testing and trace mechanism. */ // ============================================================================ @@ -109,7 +109,7 @@ public : static std::list *Destructors; virtual ~GENERIC_DESTRUCTOR() {}; - static const int Add(GENERIC_DESTRUCTOR &anObject); + static int Add(GENERIC_DESTRUCTOR &anObject); virtual void operator()(void) = 0; }; @@ -127,7 +127,7 @@ public : * * Note that neither ptrPoint, nor ptrDestruct should be destroyed by the user. * - * The destruction object must be created dynamically because it suscribes + * The destruction object must be created dynamically because it subscribes * itself in the list of destruction to be performed at the end of the process. */ // ============================================================================