Re: writing/reading objects to/form a file

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Mon, 21 Nov 2005 10:12:36 +0100


Hi Stan,

>>> AliTOFCalib() {fPads= new AliTOFCalParam[npad];}

> Reread the line where new is used: There are brackets after new
> AliTOFCalParam, not parens, so delete[] is the appropriate operator to
> use when freeing the memory.

Oops. Thanks, Stan!
Axel. Received on Mon Nov 21 2005 - 10:12:24 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET