[ros-robot-state-publisher] 02/02: Use-urdf-ShredPtr-instead-of-boost-shared_ptr

Jochen Sprickerhof jspricke at moszumanska.debian.org
Mon Dec 26 17:36:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

jspricke pushed a commit to branch patch-queue/master
in repository ros-robot-state-publisher.

commit 49bb23ffe78afac434804786797a93567125b89a
Author: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Date:   Mon Dec 26 18:31:01 2016 +0100

    Use-urdf-ShredPtr-instead-of-boost-shared_ptr
    
    
    Gbp-Pq: Name 0002-Use-urdf-ShredPtr-instead-of-boost-shared_ptr.patch
---
 include/robot_state_publisher/joint_state_listener.h | 2 +-
 src/joint_state_listener.cpp                         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/robot_state_publisher/joint_state_listener.h b/include/robot_state_publisher/joint_state_listener.h
index 4b4930c..863847c 100644
--- a/include/robot_state_publisher/joint_state_listener.h
+++ b/include/robot_state_publisher/joint_state_listener.h
@@ -48,7 +48,7 @@ using namespace ros;
 using namespace KDL;
 
 typedef boost::shared_ptr<sensor_msgs::JointState const> JointStateConstPtr;
-typedef std::map<std::string, boost::shared_ptr<urdf::JointMimic> > MimicMap;
+typedef std::map<std::string, urdf::JointMimicSharedPtr > MimicMap;
 
 namespace robot_state_publisher{
 
diff --git a/src/joint_state_listener.cpp b/src/joint_state_listener.cpp
index 1b4ce3d..abde6f1 100644
--- a/src/joint_state_listener.cpp
+++ b/src/joint_state_listener.cpp
@@ -165,7 +165,7 @@ int main(int argc, char** argv)
 
   MimicMap mimic;
 
-  for(std::map< std::string, boost::shared_ptr< urdf::Joint > >::iterator i = model.joints_.begin(); i != model.joints_.end(); i++){
+  for(std::map< std::string, urdf::JointSharedPtr >::iterator i = model.joints_.begin(); i != model.joints_.end(); i++){
     if(i->second->mimic){
       mimic.insert(make_pair(i->first, i->second->mimic));
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-robot-state-publisher.git



More information about the debian-science-commits mailing list