Skip to content

Commit

Permalink
Migrate boost::std_shared_ptr -> std::std_shared_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Sep 22, 2022
1 parent dab0a4e commit 4e13137
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions urdf/src/sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include "urdf/sensor.h"

#include <ros/ros.h>
#include <boost/shared_ptr.hpp>
#include <algorithm>
#include <fstream>

Expand Down Expand Up @@ -110,7 +109,7 @@ ManagedSensorParserMap getSensorParsers(const std::vector<std::string> &allowed)

urdf::SensorParserSharedPtr parser;
try {
parser = parserMap.loader->createInstance(classes[i]);
parser = parserMap.loader->createUniqueInstance(classes[i]);
} catch(const pluginlib::PluginlibException& ex) {
ROS_ERROR_STREAM("Failed to create sensor parser: " << classes[i] << "\n" << ex.what());
}
Expand Down

0 comments on commit 4e13137

Please sign in to comment.