From ad1510a66cbb5caef22a9a2081cfc882a48a0633 Mon Sep 17 00:00:00 2001 From: VX792 Date: Sat, 11 Nov 2023 23:23:35 +0100 Subject: [PATCH] remove comment --- hardware_interface/include/hardware_interface/handle.hpp | 2 -- 1 file changed, 2 deletions(-) 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; }