Skip to content

Commit bda7d01

Browse files
authored
fix dlio::MapNode::savePcd
fixes #50
1 parent bed8ae3 commit bda7d01

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)