Print

Print


Commit in lcio/src/cpp on MAIN
include/UTIL/CellIDDecoder.h+5-11.3 -> 1.4
src/UTIL/CellIDDecoder.cc-41.1 -> 1.2
+5-5
2 modified files
fixed bug with static template  member initialization

lcio/src/cpp/include/UTIL
CellIDDecoder.h 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- CellIDDecoder.h	27 Mar 2006 14:11:11 -0000	1.3
+++ CellIDDecoder.h	28 Mar 2006 18:21:55 -0000	1.4
@@ -21,7 +21,7 @@
    *  See UTIL::BitField64 for a description of the encoding string. 
    * 
    *  @see BitField64
-   *  @version $Id: CellIDDecoder.h,v 1.3 2006/03/27 14:11:11 gaede Exp $
+   *  @version $Id: CellIDDecoder.h,v 1.4 2006/03/28 18:21:55 gaede Exp $
    */
   template <class T> 
   class CellIDDecoder {
@@ -114,6 +114,10 @@
     return  *_b ;
   }
   
+  export template <class T>
+  std::string* CellIDDecoder<T>::_defaultEncoding 
+  = new std::string("byte0:8,byte1:8,byte2:8,byte3:8,byte4:8,byte5:8,byte6:8,byte7:8") ;
+  
   template <>
   std::string* CellIDDecoder<SimTrackerHit>::_defaultEncoding  ;
   

lcio/src/cpp/src/UTIL
CellIDDecoder.cc 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- CellIDDecoder.cc	27 Mar 2006 14:11:10 -0000	1.1
+++ CellIDDecoder.cc	28 Mar 2006 18:21:55 -0000	1.2
@@ -2,13 +2,9 @@
 
 namespace UTIL{
 
-  export template <class T>
-  std::string* CellIDDecoder<T>::_defaultEncoding 
-  = new std::string("byte0:8,byte1:8,byte2:8,byte3:8,byte4:8,byte5:8,byte6:8,byte7:8") ;
   
   export template <>
   std::string* CellIDDecoder<SimTrackerHit>::_defaultEncoding 
   = new std::string("byte0:8,byte1:8,byte2:8,byte3:8") ;
   
-  
 }
CVSspam 0.2.8