]> Creatis software - gdcm.git/commitdiff
COMP: when using initializers list, one need to respect order in declaration
authormalaterre <malaterre>
Tue, 30 Oct 2007 13:34:42 +0000 (13:34 +0000)
committermalaterre <malaterre>
Tue, 30 Oct 2007 13:34:42 +0000 (13:34 +0000)
src/gdcmCommand.cxx

index 98a9e53a10b204443d951fe3010f4b9ec5af55c2..1d474566edb6ecb8b32edbb312463e4012b76b8b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCommand.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/10/25 08:04:50 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2007/10/30 13:34:42 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -26,7 +26,7 @@ namespace GDCM_NAME_SPACE
  * \brief Constructor used when we want to generate dicom files from scratch
  */
 Command::Command()
-  : Cmd(CMD_UNKNOWN), Object(NULL), ConstObject(NULL), Text("")
+  :  Text(""), Object(NULL), ConstObject(NULL), Cmd(CMD_UNKNOWN)
 {
 //   Cmd = CMD_UNKNOWN;
 //   Object = NULL;