Ignore:
Timestamp:
06/02/23 14:05:29 (13 months ago)
Author:
jderouillat
Message:

Add a comparison operator to the filesToWrite_ std:: set to force the file creation ordering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/node/file.hpp

    r2507 r2509  
    228228   ///-------------------------------------------------------------- 
    229229 
     230   struct FilePtrCompare { 
     231     bool operator() (CFile const *l, CFile const *r) const { 
     232       return l->getFileOutputName() < r->getFileOutputName(); 
     233     } 
     234   }; 
    230235} // namespace xios 
    231236 
Note: See TracChangeset for help on using the changeset viewer.