Skip to content

Commit

Permalink
Merge pull request #94 from lsst/tickets/DM-29790
Browse files Browse the repository at this point in the history
DM-29790: replace boost::filesystem with std::filesystem
  • Loading branch information
mwittgen committed Jun 8, 2021
2 parents ecfae73 + f6dfe03 commit 1b65d06
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/CModel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
#include <cstdlib>
#include <memory>
#include <bitset>

#include "boost/filesystem/path.hpp"
#include <filesystem>

#include "ndarray/eigen.h"

Expand Down Expand Up @@ -77,10 +76,10 @@ PTR(Prior) CModelStageControl::getPrior() const {
"MEAS_MODELFIT_DIR environment variable not defined; cannot find persisted Priors"
);
}
boost::filesystem::path priorPath
= boost::filesystem::path(pkgDir)
/ boost::filesystem::path("data")
/ boost::filesystem::path(priorName + ".fits");
std::filesystem::path priorPath
= std::filesystem::path(pkgDir)
/ std::filesystem::path("data")
/ std::filesystem::path(priorName + ".fits");
PTR(Mixture) mixture = Mixture::readFits(priorPath.string());
return std::make_shared<MixturePrior>(mixture, "single-ellipse");
} else if (priorSource == "LINEAR") {
Expand Down

0 comments on commit 1b65d06

Please sign in to comment.