From 33f74017149d3c5bcf1872201b77be83a4fa6427 Mon Sep 17 00:00:00 2001 From: regrain Date: Fri, 21 Oct 2005 10:40:53 +0000 Subject: [PATCH] * Fix compilation errors due to the 'virtual' key-word -- BeNours --- src/gdcmRefCounter.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) -- 2.45.1