Skip to content

Commit 932bd28

Browse files
authored
Merge pull request #53 from VRichardJP/patch-1
2 parents bed8ae3 + bda7d01 commit 932bd28

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/dlio/map.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ bool dlio::MapNode::savePcd(direct_lidar_inertial_odometry::save_pcd::Request& r
8585

8686
if (!std::filesystem::is_directory(p)) {
8787
std::cout << "Could not find directory " << p << std::endl;
88-
res->success = false;
89-
return;
88+
res.success = false;
89+
return false;
9090
}
9191

9292
std::cout << std::setprecision(2) << "Saving map to " << p + "/dlio_map.pcd"

0 commit comments

Comments
 (0)