From: regrain Date: Fri, 21 Oct 2005 10:40:53 +0000 (+0000) Subject: * Fix compilation errors due to the 'virtual' key-word X-Git-Tag: OpenJPEG.Version1.2~268 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=33f74017149d3c5bcf1872201b77be83a4fa6427;p=gdcm.git * Fix compilation errors due to the 'virtual' key-word -- BeNours --- diff --git a/src/gdcmRefCounter.h b/src/gdcmRefCounter.h index bb1e2b0b..6a801ca7 100644 --- a/src/gdcmRefCounter.h +++ b/src/gdcmRefCounter.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmRefCounter.h,v $ Language: C++ - Date: $Date: 2005/10/21 10:29:51 $ - Version: $Revision: 1.3 $ + Date: $Date: 2005/10/21 10:40:53 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -38,7 +38,7 @@ public: // Allocator / Unallocator /// Delete the object /// \remarks The object is deleted only if its reference counting is to zero - inline virtual void Delete(void) + inline void Delete(void) { Unregister(); } @@ -46,13 +46,13 @@ public: // Reference count /// Register the object /// \remarks It increments the reference counting - inline virtual void Register(void) + inline void Register(void) { RefCount++; } /// Unregister the object /// \remarks It decrements the reference counting - inline virtual void Unregister(void) + inline void Unregister(void) { RefCount--; if(RefCount==0)