nagyistoce / platinum-image

Automatically exported from code.google.com/p/platinum-image
0 stars 0 forks source link

scalar_copycast crashes in data_base::data_base (data_base * const source) #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
data_base::data_base (data_base * const source)
    {
    pt_error::error_if_null(source,"Attempting to copyconstruct data 
object from NULL object");

    ID = data_next_ID++;
    widget = NULL;
    from_file(source->from_file());
    dcmIO->SetFileName(dcmIO->GetFileName());//JK1 //Crash here 
because dcmIO undefined (dcmIO->m_Pointer==NULL)
    }

Original issue reported on code.google.com by petter.r...@gmail.com on 16 Aug 2007 at 8:32

GoogleCodeExporter commented 9 years ago
The same also happens for the standard copy constructor. 

image_binary<IMAGEDIM> * output = new image_binary (this,false);

Original comment by petter.r...@gmail.com on 16 Aug 2007 at 8:47