Skip to content

Commit

Permalink
Merge pull request #2 from lsst/tickets/DM-4035
Browse files Browse the repository at this point in the history
Migrate boost::array to std::array
  • Loading branch information
Pim Schellart authored and Pim Schellart committed May 4, 2016
2 parents 3c29f0f + 08c6e7b commit c9bcbb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/simpleShape.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* see <http://www.lsstcorp.org/LegalNotices/>.
*/

#include <array>

#include "lsst/pex/exceptions.h"
#include "lsst/afw/geom/ellipses/PixelRegion.h"
#include "lsst/meas/extensions/simpleShape.h"
Expand Down Expand Up @@ -301,7 +303,7 @@ SimpleShapeResult::SimpleShapeResult() : ellipse(std::numeric_limits<lsst::meas:
covariance(Eigen::Matrix<double,5,5>::Constant(std::numeric_limits<lsst::meas::base::ErrElement>::quiet_NaN()))
{}

static boost::array<lsst::meas::base::FlagDefinition, SimpleShape::N_FLAGS> const flagDefs = {{
static std::array<lsst::meas::base::FlagDefinition, SimpleShape::N_FLAGS> const flagDefs = {{
{"flag", "general failure flag, set if anything went wrong"}
}};

Expand Down

0 comments on commit c9bcbb0

Please sign in to comment.