X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmRefCounter.h;h=3ba30e23a00536c8bde2d166bb9e073782eea760;hb=fc4f7706c78baf3f60474c06d871b82db221f37b;hp=d528b7b8ffd6e01ede418f88558658d008f5b558;hpb=8fd45dc6d321d1419854dc0e4fa6a37d6826b655;p=gdcm.git diff --git a/src/gdcmRefCounter.h b/src/gdcmRefCounter.h index d528b7b8..3ba30e23 100644 --- a/src/gdcmRefCounter.h +++ b/src/gdcmRefCounter.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmRefCounter.h,v $ Language: C++ - Date: $Date: 2007/05/23 14:18:11 $ - Version: $Revision: 1.11 $ + Date: $Date: 2007/10/04 17:50:42 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,8 +16,8 @@ =========================================================================*/ -#ifndef GDCMREFCOUNTER_H -#define GDCMREFCOUNTER_H +#ifndef _GDCMREFCOUNTER_H_ +#define _GDCMREFCOUNTER_H_ #include "gdcmBase.h" //#include "gdcmDebug.h" @@ -63,7 +63,7 @@ public: protected: /// Constructor - RefCounter() { RefCount = 1; } + RefCounter() : RefCount(1) { } /// Destructor virtual ~RefCounter() {}