]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding virtual destructor breaks C++ struct backward compatibility with C struct...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Mar 2008 14:22:08 +0000 (14:22 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Mar 2008 14:22:08 +0000 (14:22 +0000)
RAW/AliRawDataHeader.h

index 79bc2cf639fdcdc53108e828a7af2aeb47c809f3..e2fa8e2b7724108587ed173a0701336e975725d6 100644 (file)
@@ -15,7 +15,10 @@ struct AliRawDataHeader {
     fROIHigh(0)
   {}
 
-  virtual ~AliRawDataHeader() {}
+  // Adding virtual destructor breaks
+  // C++ struct backward compatibility
+  // Do not uncomment the line below!!!
+  //  virtual ~AliRawDataHeader() {}
 
   UShort_t  GetEventID1() const
     {