diff --git a/src/ros_tf_listener.hh b/src/ros_tf_listener.hh
index c046bee10bcda930541882f9177eec72db15290a..a95907a097aa2d5d732476ecebba5c270bb68b83 100644
--- a/src/ros_tf_listener.hh
+++ b/src/ros_tf_listener.hh
@@ -68,8 +68,8 @@ class RosTfListener : public Entity {
  public:
   typedef internal::TransformListenerData TransformListenerData;
 
-  RosTfListener(const std::string& name)
-    : Entity(name)
+  RosTfListener(const std::string& _name)
+    : Entity(_name)
     , buffer()
     , listener(buffer, rosInit(), false)
   {
diff --git a/src/ros_time.cpp b/src/ros_time.cpp
index 52c8f76368cedcd3577b1a9355abf076385babba..7233ad3b60de45c0473f4f6753ccccfaa5fb38ad 100644
--- a/src/ros_time.cpp
+++ b/src/ros_time.cpp
@@ -22,8 +22,8 @@ const std::string RosTime::docstring_(
     "  Signal \"time\" provides time as given by ros::time as\n"
     "  boost::posix_time::ptime type.\n");
 
-RosTime::RosTime(const std::string& name)
-    : Entity(name), now_("RosTime(" + name + ")::output(boost::posix_time::ptime)::time") {
+RosTime::RosTime(const std::string& _name)
+    : Entity(_name), now_("RosTime(" + _name + ")::output(boost::posix_time::ptime)::time") {
   signalRegistration(now_);
   now_.setConstant(rosTimeToPtime(ros::Time::now()));
   now_.setFunction(boost::bind(&RosTime::update, this, _1, _2));