Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leave boost filesystem #581

Merged
merged 9 commits into from
Aug 16, 2024
7 changes: 2 additions & 5 deletions examples/build_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "pointmatcher/IO.h"
#include <cassert>
#include <iostream>
#include <fstream>
#include <boost/format.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
#include <filesystem>
#include <boost/lexical_cast.hpp>

using namespace std;
Expand Down Expand Up @@ -210,7 +207,7 @@ int main(int argc, char *argv[])
}

stringstream outputFileNameIter;
outputFileNameIter << boost::filesystem::path(outputFileName).stem().c_str() << "_" << i << ".vtk";
outputFileNameIter << std::filesystem::path(outputFileName).stem().c_str() << "_" << i << ".vtk";

mapCloud.save(outputFileNameIter.str());
}
Expand Down
Loading
Loading