Skip to content

Commit

Permalink
Fix std:: prefix after #4203.
Browse files Browse the repository at this point in the history
  • Loading branch information
larshg committed Jul 15, 2020
1 parent 23eae3b commit fdb7531
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simulation/tools/sim_terminal_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ write_sim_output(const std::string& fname_root)

pcl::PCDWriter writer;
// writer.write ( string (fname_root + ".pcd"), *pc_out, false); /// ASCII
writer.writeBinary(string(fname_root + ".pcd"), *pc_out);
writer.writeBinary(std::string(fname_root + ".pcd"), *pc_out);
// std::cout << "finished writing file\n";
}
else {
Expand All @@ -75,9 +75,9 @@ write_sim_output(const std::string& fname_root)
// simexample->write_score_image (simexample->rl_->getScoreBuffer (),
// string (fname_root + "_score.png") );
simexample->write_rgb_image(simexample->rl_->getColorBuffer(),
string(fname_root + "_rgb.png"));
std::string(fname_root + "_rgb.png"));
simexample->write_depth_image(simexample->rl_->getDepthBuffer(),
string(fname_root + "_depth.png"));
std::string(fname_root + "_depth.png"));
// simexample->write_depth_image_uint (simexample->rl_->getDepthBuffer (),
// string (fname_root + "_depth_uint.png") );

Expand Down

0 comments on commit fdb7531

Please sign in to comment.