Skip to content

Commit

Permalink
Merge pull request #10 from lsst/tickets/DM-5879
Browse files Browse the repository at this point in the history
DM-5879 Remove use of Boost smart pointers throughout the Science Pipelines
  • Loading branch information
Pim Schellart authored and Pim Schellart committed May 4, 2016
2 parents a843838 + fde49de commit 234cbbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EdgeRolloffFunctor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

#include <cmath>
#include "boost/make_shared.hpp"
#include <memory>
#include "lsst/obs/lsstSim/EdgeRolloffFunctor.h"

namespace lsst {
Expand All @@ -37,7 +37,7 @@ EdgeRolloffFunctor::EdgeRolloffFunctor(double amplitude, double scale,
}

PTR(afw::geom::Functor) EdgeRolloffFunctor::clone() const {
return boost::make_shared<EdgeRolloffFunctor>(_amplitude, _scale, _width);
return std::make_shared<EdgeRolloffFunctor>(_amplitude, _scale, _width);
}

double EdgeRolloffFunctor::operator()(double x) const {
Expand Down

0 comments on commit 234cbbf

Please sign in to comment.