Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
kkufieta committed Jan 8, 2024
1 parent 116f11b commit 7adf590
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions viam-cartographer/src/carto_facade/test_helpers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,6 @@ std::string ascii_pcd(std::vector<std::vector<double>> points) {
return pcd;
}

boost::filesystem::path make_tmp_dir() {
boost::filesystem::path tmp_dir = boost::filesystem::temp_directory_path() /
boost::filesystem::unique_path();
bool ok = boost::filesystem::create_directory(tmp_dir);
if (!ok) {
throw std::runtime_error("could not create directory: " +
tmp_dir.string());
}
return tmp_dir;
}

} // namespace test_helpers
} // namespace carto_facade
} // namespace viam
1 change: 0 additions & 1 deletion viam-cartographer/src/carto_facade/test_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ std::string binary_pcd(std::vector<std::vector<double>> points);

std::string ascii_pcd(std::vector<std::vector<double>> points);

boost::filesystem::path make_tmp_dir();
} // namespace test_helpers
} // namespace carto_facade
} // namespace viam
Expand Down

0 comments on commit 7adf590

Please sign in to comment.