Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2010, 9:32:58 PM (15 years ago)
Author:
rgrieder
Message:

Removed excess white space at the end of lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/libraries/util/Serialise.h

    r7105 r7127  
    636636        return checkEquality( (unsigned char&)((mbool&)variable).getMemory(), mem );
    637637    }
    638    
     638
    639639    // =========== std::set
    640    
     640
    641641    template <class T> inline uint32_t returnSize( const std::set<T>& variable )
    642642    {
    643643        uint32_t tempsize = sizeof(uint32_t); // for the number of entries
    644644        for( typename std::set<T>::iterator it=((std::set<T>*)(&variable))->begin(); it!=((std::set<T>*)(&variable))->end(); ++it)
    645             tempsize += returnSize( *it ); 
    646         return tempsize; 
    647     }
    648    
     645            tempsize += returnSize( *it );
     646        return tempsize;
     647    }
     648
    649649    template <class T> inline void saveAndIncrease(  const std::set<T>& variable, uint8_t*& mem )
    650650    {
     
    654654            saveAndIncrease( *it, mem );
    655655    }
    656    
     656
    657657    template <class T> inline void loadAndIncrease( const std::set<T>& variable, uint8_t*& mem )
    658658    {
     
    675675        }
    676676    }
    677    
     677
    678678    template <class T> inline bool checkEquality( const std::set<T>& variable, uint8_t* mem )
    679679    {
Note: See TracChangeset for help on using the changeset viewer.