Changeset 18462


Ignore:
Timestamp:
03/17/16 12:32:35 (9 years ago)
Author:
tbretz
Message:
Changed the order of the fixed and non-fixed size members to avoid a warning with cling/rootcling.
File:
1 edited

Legend:

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

    r18049 r18462  
    146146    struct Compression
    147147    {
     148        std::vector<uint16_t> sequence;
    148149        BlockHeader header;
    149         std::vector<uint16_t> sequence;
    150150
    151151        Compression(const std::vector<uint16_t> &seq, const RowOrdering_t &order=kOrderByCol)
    152             : header(0, order, seq.size()), sequence(seq)
     152            : sequence(seq), header(0, order, seq.size())
    153153        {
    154154        }
    155155
    156156        Compression(const CompressionProcess_t &compression=kFactRaw, const RowOrdering_t &order=kOrderByCol)
    157             : header(0, order, 1), sequence(1)
     157            : sequence(1), header(0, order, 1)
    158158        {
    159159            sequence[0] = compression;
     
    162162#ifdef __MARS__ // needed for CINT
    163163        Compression(const int &compression)
    164             : header(0, kOrderByCol, 1), sequence(1)
     164            : sequence(1), header(0, kOrderByCol, 1)
    165165        {
    166166            sequence[0] = compression;
Note: See TracChangeset for help on using the changeset viewer.