Ignore:
Timestamp:
03/05/21 19:34:20 (4 years ago)
Author:
Maciej Komosinski
Message:

Cosmetic / minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/loggers/loggers.h

    r1082 r1100  
    100100        string getMessages() const  { return msgs; }
    101101        string getCountSummary() const; ///< return the standard "... error(s), ... warning(s), ... message(s)" text (or empty string if count==0)
    102         void setStoreOptions(int opts) {options=options&(~(StoreFirstMessage|StoreAllMessages))|(opts&(StoreFirstMessage|StoreAllMessages));}
     102        void setStoreOptions(int opts) {options=(options & (~(StoreFirstMessage|StoreAllMessages))) | (opts&(StoreFirstMessage|StoreAllMessages));}
    103103       
    104104        LoggerToMemory(int opts = 0, int minimal_level_to_store = LOG_ERROR) :LoggerBase(opts), minleveltostore(minimal_level_to_store)
Note: See TracChangeset for help on using the changeset viewer.