Changeset 13908 for trunk/FACT++


Ignore:
Timestamp:
05/26/12 12:29:39 (13 years ago)
Author:
tbretz
Message:
Do not print events without descriptions - these events might be services.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventImp.cc

    r13830 r13908  
    176176    // States with negative values are internal states and are
    177177    // never allowed
    178     if (state<0)
    179         return false;
     178    // if (state<0)
     179    //    return false;
    180180
    181181    // In case no allowed state is explicitly set
     
    214214void EventImp::Print(ostream &out, bool strip) const
    215215{
     216    if (GetDescription().empty())
     217        return;
     218
    216219    out << " -";
    217220
Note: See TracChangeset for help on using the changeset viewer.