Changeset 294 in pacpusframework


Ignore:
Timestamp:
Mar 28, 2014, 11:20:17 AM (11 years ago)
Author:
Marek Kurdej
Message:

Fixed: GCC compilation problems with shared_ptr.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DBITEPlayerLib/DbtPlyTrigger.cpp

    r290 r294  
    1919DbtPlyTrigger::DbtPlyTrigger(QString name)
    2020    : ComponentBase(name)
    21     , mEngine(NULL)
    2221{
    2322}
  • trunk/src/DBITEPlayerLib/DbtPlyUserInterface.cpp

    r290 r294  
    3434    : ComponentBase(name)
    3535    , componentTableWidget(NULL)
    36     , mEngine(NULL)
    3736{
    3837    relTime_ = absTime_ = tMin_ = tMax_ = 0;
  • trunk/src/PacpusLib/ComponentManager.cpp

    r290 r294  
    180180    }
    181181
    182     boost::shared_ptr<ComponentBase> component = componentMap_.value(name, NULL);
     182    ComponentSharedPointer component = componentMap_.value(name, ComponentSharedPointer());
    183183   
    184184    // FIXME: remove from map (causes segfault in QMap::qMapLessThanKey on Windows)
     
    501501    }
    502502
     503    // FIXME: throw
    503504    LOG_WARN("cannot retrieve component '" << name << "'" << ". It does not exist");
    504     return NULL;
     505    return ComponentSharedPointer();
    505506}
    506507
Note: See TracChangeset for help on using the changeset viewer.