Skip to content

Commit

Permalink
Merge pull request #7 from lsst/tickets/DM-6090
Browse files Browse the repository at this point in the history
Replace boost::lexical_cast with std equivalent
  • Loading branch information
Pim Schellart authored and Pim Schellart committed Jun 2, 2016
2 parents e125eae + 7a6f22c commit 4712fae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/FunctorKeys.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* see <http://www.lsstcorp.org/LegalNotices/>.
*/

#include <string>

#include "lsst/shapelet/FunctorKeys.h"

namespace lsst { namespace shapelet {
Expand Down Expand Up @@ -84,7 +86,7 @@ MultiShapeletFunctionKey MultiShapeletFunctionKey::addFields(
std::make_shared<ShapeletFunctionKey>(
ShapeletFunctionKey::addFields(
schema,
schema[name][boost::lexical_cast<std::string>(i)].getPrefix(),
schema[name][std::to_string(i)].getPrefix(),
doc,
ellipseUnit,
coeffUnit,
Expand All @@ -105,7 +107,7 @@ MultiShapeletFunctionKey::MultiShapeletFunctionKey(
while (true) {
try {
PTR(ShapeletFunctionKey) component = std::make_shared<ShapeletFunctionKey>(
s[boost::lexical_cast<std::string>(i)],
s[std::to_string(i)],
basisType
);
_components.push_back(component);
Expand Down

0 comments on commit 4712fae

Please sign in to comment.