Changeset 16602 for trunk/Mars/mcore


Ignore:
Timestamp:
06/02/13 16:23:24 (11 years ago)
Author:
tbretz
Message:
Just some cosmetics... using a reverse iterator to inetrate from the back ;)
File:
1 edited

Legend:

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

    r16427 r16602  
    769769
    770770        auto ib = fOutputBuffer.begin();
    771         auto ie = fOutputBuffer.end();
     771        auto ie = fOutputBuffer.rbegin();
    772772        *ib++ = 0;
    773773        *ib++ = 0;
     
    775775        *ib   = 0;
    776776
    777         *--ie = 0;
    778         *--ie = 0;
    779         *--ie = 0;
    780         *--ie = 0;
     777        *ie++ = 0;
     778        *ie++ = 0;
     779        *ie++ = 0;
     780        *ie  = 0;
    781781
    782782        if (!byte_swap)
Note: See TracChangeset for help on using the changeset viewer.