Ignore:
Timestamp:
03/03/15 18:26:31 (10 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: Yes (CAS-6929)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): asap as a whole

Description: committing Darrell's changes to make asap work with merged casacore.


Location:
trunk/external-alma/components/SpectralComponents
Files:
2 edited

Legend:

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

    r2980 r3029  
    5353  _fixed(other._fixed.copy()),
    5454  _function(
    55                 std::tr1::shared_ptr<Function<Double, Double> >(
     55                SHARED_PTR<Function<Double, Double> >(
    5656                        other._function->clone()
    5757                )
     
    7272                _fixed.resize(n);
    7373                _fixed = other._fixed.copy();
    74                 _function = std::tr1::shared_ptr<Function<Double, Double> >(
     74                _function = SHARED_PTR<Function<Double, Double> >(
    7575                        other._function->clone()
    7676                );
     
    165165
    166166void SpectralElement::_setFunction(
    167         const std::tr1::shared_ptr<Function<Double, Double> >& f
     167        const SHARED_PTR<Function<Double, Double> >& f
    168168) {
    169169        _function = f;
  • trunk/external-alma/components/SpectralComponents/SpectralElement.h

    r2980 r3029  
    3030#define COMPONENTS_SPECTRALELEMENT_H
    3131
     32#include <memory>
    3233#include <casa/aips.h>
    3334#include <casa/Arrays/Vector.h>
    3435#include <casa/Containers/RecordInterface.h>
    35 ///#include <casa/Utilities/CountedPtr.h>
    36 #include <tr1/memory>
    3736
    3837namespace casa { //# NAMESPACE CASA - BEGIN
     
    174173        void _setType(const Types type);
    175174
    176         void _setFunction(const std::tr1::shared_ptr<Function<Double, Double> >& f);
    177 
    178         virtual std::tr1::shared_ptr<Function<Double, Double> > _getFunction() const {
     175        void _setFunction(const SHARED_PTR<Function<Double, Double> >& f);
     176
     177        virtual SHARED_PTR<Function<Double, Double> > _getFunction() const {
    179178                return _function;
    180179        }
     
    194193        Vector<Bool> _fixed;
    195194
    196         std::tr1::shared_ptr<Function<Double, Double> > _function;
     195        SHARED_PTR<Function<Double, Double> > _function;
    197196
    198197};
Note: See TracChangeset for help on using the changeset viewer.