Ignore:
Timestamp:
05/16/17 14:07:28 (7 years ago)
Author:
Malte Marquarding
Message:

shared_ptr now in std namespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/components/SpectralComponents/CompiledSpectralElement.cc

    r2980 r3121  
    105105const String& CompiledSpectralElement::getFunction() const {
    106106        // return _function;
    107         std::tr1::shared_ptr<Function<Double, Double> >  f = _getFunction();
     107        std::shared_ptr<Function<Double, Double> >  f = _getFunction();
    108108        return dynamic_cast<CompiledFunction<Double> *>(SpectralElement::_getFunction().get())->getText();
    109109}
     
    112112void CompiledSpectralElement::_setFunction(const String& function) {
    113113        //_function = function;
    114         std::tr1::shared_ptr<Function<Double, Double> > f = _getFunction();
     114        std::shared_ptr<Function<Double, Double> > f = _getFunction();
    115115        CompiledFunction<Double> *cf = f.get() == 0
    116116                ? new CompiledFunction<Double>()
Note: See TracChangeset for help on using the changeset viewer.