diff --git a/hardware_interface/include/hardware_interface/handle.hpp b/hardware_interface/include/hardware_interface/handle.hpp index b493ba5814..9f68a825bf 100644 --- a/hardware_interface/include/hardware_interface/handle.hpp +++ b/hardware_interface/include/hardware_interface/handle.hpp @@ -126,8 +126,6 @@ class ReadWriteHandle : public ReadOnlyHandle template std::enable_if_t::value, void> set_value(T value) { - //THROW_ON_NULLPTR(std::get<1>(ReadOnlyHandle::value_ptr_)); - //std::get<1>(ReadOnlyHandle::value_ptr_)->store(value, std::memory_order_relaxed); THROW_ON_NULLPTR(ReadOnlyHandle::value_ptr_); *(ReadOnlyHandle::value_ptr_) = value; }