Ignore:
Timestamp:
10/30/12 12:53:07 (12 years ago)
Author:
tbretz
Message:
Added time to State so that the time of state reception is propagated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimState.h

    r14538 r14541  
    161161        for (auto it=states.begin(); it!=states.end(); it++)
    162162            if (it->index==state())
    163                 return *it;
     163                return State(it->index, it->name, it->comment, time());
    164164
    165165        return State(kNotAvailable, "n/a");
     
    245245    State description() const
    246246    {
    247         return State(state(), version());
     247        return State(state(), version(), "", time());
    248248    }
    249249};
     
    307307    State description() const
    308308    {
    309         return State(state(), "Current label");
     309        return State(state(), "Current label", "", time());
    310310    }
    311311};
Note: See TracChangeset for help on using the changeset viewer.