Skip to content

Commit

Permalink
Update header for Boost 1.83
Browse files Browse the repository at this point in the history
  • Loading branch information
jspricke committed Nov 16, 2023
1 parent d33ca46 commit ac511b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/rosbag/src/encrypt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

#include <boost/scoped_ptr.hpp>
#include <boost/program_options.hpp>
#include <boost/progress.hpp>
#include <boost/timer/progress_display.hpp>
#include <boost/regex.hpp>

#include <ros/ros.h>
Expand Down Expand Up @@ -161,9 +161,9 @@ int encrypt(EncryptorOptions const& options)
outbag.setEncryptorPlugin(options.plugin, options.param);
outbag.setCompression(options.compression);
rosbag::View view(inbag);
boost::scoped_ptr<boost::progress_display> progress;
boost::scoped_ptr<boost::timer::progress_display> progress;
if (!options.quiet)
progress.reset(new boost::progress_display(view.size(), std::cout, "Progress:\n ", " ", " "));
progress.reset(new boost::timer::progress_display(view.size(), std::cout, "Progress:\n ", " ", " "));
for (rosbag::View::const_iterator it = view.begin(); it != view.end(); ++it)
{
outbag.write(it->getTopic(), it->getTime(), *it, it->getConnectionHeader());
Expand Down

0 comments on commit ac511b2

Please sign in to comment.