Ignore:
Timestamp:
10/20/13 17:28:37 (11 years ago)
Author:
tbretz
Message:
Added more missing std::
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/factfits.h

    r17264 r17274  
    135135        if (calib.bad())
    136136        {
    137             clear(rdstate()|ios::badbit);
     137            clear(rdstate()|std::ios::badbit);
    138138            return;
    139139        }
     
    145145        if (calib.GetNumRows() != 1)
    146146        {
    147             clear(rdstate()|ios::badbit);
    148 #ifdef __EXCEPTIONS
    149             throw runtime_error("Table 'ZDrsCellOffsets' found, but not with one row as expected");
     147            clear(rdstate()|std::ios::badbit);
     148#ifdef __EXCEPTIONS
     149            throw std::runtime_error("Table 'ZDrsCellOffsets' found, but not with one row as expected");
    150150#else
    151151            gLog << ___err___ << "ERROR - Table 'ZDrsCellOffsets' found, but not with one row as expected" << endl;
     
    155155        if (calib.GetStr("TTYPE1") != "OffsetCalibration")
    156156        {
    157             clear(rdstate()|ios::badbit);
    158 #ifdef __EXCEPTIONS
    159             throw runtime_error("Table 'DrsCalib' found, but first column is not the one expected");
     157            clear(rdstate()|std::ios::badbit);
     158#ifdef __EXCEPTIONS
     159            throw std::runtime_error("Table 'DrsCalib' found, but first column is not the one expected");
    160160#else
    161161            gLog << ___err___ << "ERROR - Table 'DrsCalib' found, but first column is not the one expected" << endl;
     
    165165        if (calib.GetStr("TFORM1") != "1474560I")  // 1024*1440
    166166        {
    167             clear(rdstate()|ios::badbit);
    168 #ifdef __EXCEPTIONS
    169             throw runtime_error("Table 'DrsCalib' has wrong column format (TFROM1)");
     167            clear(rdstate()|std::ios::badbit);
     168#ifdef __EXCEPTIONS
     169            throw std::runtime_error("Table 'DrsCalib' has wrong column format (TFROM1)");
    170170#else
    171171            gLog << ___err___ << "ERROR - Table 'DrsCalib' has wrong column format (TFORM1)" << endl;
     
    180180            return;
    181181
    182         clear(rdstate()|ios::badbit);
    183 
    184 #ifdef __EXCEPTIONS
    185         throw runtime_error("Reading column 'OffsetCalibration' failed.");
     182        clear(rdstate()|std::ios::badbit);
     183
     184#ifdef __EXCEPTIONS
     185        throw std::runtime_error("Reading column 'OffsetCalibration' failed.");
    186186#else
    187187        gLog << ___err___ << "ERROR - Reading column 'OffsetCalibration' failed." << endl;
     
    190190    }
    191191
    192     vector<int16_t> fOffsetCalibration; ///< integer values of the drs calibration used for compression
     192    std::vector<int16_t> fOffsetCalibration; ///< integer values of the drs calibration used for compression
    193193
    194194    size_t fOffsetStartCellData;
Note: See TracChangeset for help on using the changeset viewer.