diff --git a/gazebo/rendering/LensFlare.cc b/gazebo/rendering/LensFlare.cc index 792a501344..b312b01750 100644 --- a/gazebo/rendering/LensFlare.cc +++ b/gazebo/rendering/LensFlare.cc @@ -524,7 +524,7 @@ void LensFlare::OnRequest(ConstRequestPtr &_msg) } ////////////////////////////////////////////////// -void LensFlare::SetCameraSensor(CameraPtr _camera) +void LensFlare::SetCameraImpl(CameraPtr _camera) { this->dataPtr->camera = _camera; } diff --git a/gazebo/rendering/LensFlare.hh b/gazebo/rendering/LensFlare.hh index 6c793aff5c..a119ecb473 100644 --- a/gazebo/rendering/LensFlare.hh +++ b/gazebo/rendering/LensFlare.hh @@ -128,7 +128,7 @@ namespace gazebo /// \brief Set camera stored in LensFlarePrivate /// \param[in] _camera Camera to use in sensor. - protected: void SetCameraSensor(CameraPtr _camera); + protected: void SetCameraImpl(CameraPtr _camera); /// \brief Set lensFlareCompositorListener stored in LensFlarePrivate /// \param[in] _listener Shared pointer to object to be set.