Ignore:
Timestamp:
07/11/20 13:47:06 (2 months ago)
Author:
Maciej Komosinski
Message:

Report the error status just once so that while(go()) does not have to always check the error condition to stop (prevents endless loop on permanent errors)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/multiparamload.h

    r737 r998  
    9090        /** same value as 'go()' */
    9191        int getStatus() { return status; }
     92        int getStatusClearError() { int s = status; if (status & OnError) status &= ~ OnError; return s; }
    9293        int finished() { return (status == Finished); }
    9394
Note: See TracChangeset for help on using the changeset viewer.