Ignore:
Timestamp:
07/22/11 08:44:52 (13 years ago)
Author:
tbretz
Message:
Write now takes a const reference
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Fits.cc

    r11441 r11524  
    315315//! @param conv the converter corresponding to the service being logged
    316316//
    317 bool Fits::Write(Converter* conv)
     317bool Fits::Write(const Converter &conv)
    318318{
    319319    //first copy the standard variables to the copy buffer
     
    329329    {
    330330        //now take care of the DIM data. The Converter is here for that purpose
    331         conv->ToFits(&fCopyBuffer[shift], fDataPointer, fDataNumBytes);
     331        conv.ToFits(&fCopyBuffer[shift], fDataPointer, fDataNumBytes);
    332332    }
    333333    catch (const runtime_error &e)
Note: See TracChangeset for help on using the changeset viewer.