Changeset 13833


Ignore:
Timestamp:
05/23/12 17:00:46 (13 years ago)
Author:
tbretz
Message:
Removed target state; 'fixed' GetSize return code.
File:
1 edited

Legend:

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

    r10570 r13833  
    2727
    2828public:
    29     EventDim(int target, const std::string &name, const std::string &format, DimCommandHandler *handler)
    30         : EventImp(target), DimCommand(name.c_str(), format.c_str(), handler), fDescription(0)
     29    EventDim(const std::string &name, const std::string &format, DimCommandHandler *handler)
     30        : EventImp(), DimCommand(name.c_str(), format.c_str(), handler), fDescription(0)
    3131    {
    3232        // Initialize these values from DimCommand, because DimCommand
     
    5454
    5555    const void *GetData() const   { return const_cast<EventDim*>(this)->getData(); }
    56     int         GetSize() const   { return const_cast<EventDim*>(this)->getSize(); }
     56    size_t      GetSize() const   { return const_cast<EventDim*>(this)->getSize(); }
    5757
    5858    Time GetTime() const
Note: See TracChangeset for help on using the changeset viewer.