Changeset 16836 for trunk/FACT++


Ignore:
Timestamp:
06/14/13 10:56:02 (11 years ago)
Author:
tbretz
Message:
Use make_shared where possible.
File:
1 edited

Legend:

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

    r16774 r16836  
    656656
    657657        // The new run is the active run now
    658         actrun = shared_ptr<RUN_CTRL2>(new RUN_CTRL2);
     658        actrun = make_shared<RUN_CTRL2>();
    659659
    660660        const time_t &tsec = evt->time.tv_sec;
     
    10401040    processingQueue1.start();;
    10411041
    1042     actrun = shared_ptr<RUN_CTRL2>(new RUN_CTRL2);
     1042    actrun = make_shared<RUN_CTRL2>();
    10431043
    10441044    //time in seconds
Note: See TracChangeset for help on using the changeset viewer.