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/GaussianSpectralElement.cc

    r2980 r3121  
    4343: PCFSpectralElement(SpectralElement::GAUSSIAN, 1, 0, 2*sqrt(C::ln2)/C::pi) {
    4444        _setFunction(
    45                 std::tr1::shared_ptr<Gaussian1D<Double> >(
     45                std::shared_ptr<Gaussian1D<Double> >(
    4646                        new Gaussian1D<Double>(1, 0, 1)
    4747                )
     
    5454) : PCFSpectralElement(SpectralElement::GAUSSIAN, ampl, center, sigma) {
    5555        _setFunction(
    56                 std::tr1::shared_ptr<Gaussian1D<Double> >(
     56                std::shared_ptr<Gaussian1D<Double> >(
    5757                        new Gaussian1D<Double>(ampl, center, sigma*SigmaToFWHM)
    5858                )
     
    6363        const Vector<Double> &param
    6464) : PCFSpectralElement(SpectralElement::GAUSSIAN, param) {
    65         std::tr1::shared_ptr<Gaussian1D<Double> >(
     65        std::shared_ptr<Gaussian1D<Double> >(
    6666                new Gaussian1D<Double>(param[AMP], param[CENTER], param[WIDTH]*SigmaToFWHM)
    6767        );
Note: See TracChangeset for help on using the changeset viewer.