Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
VX792 committed Nov 11, 2023
1 parent ed305de commit ad1510a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hardware_interface/include/hardware_interface/handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ class ReadWriteHandle : public ReadOnlyHandle<T>
template <typename U = T>
std::enable_if_t<std::is_floating_point<U>::value, void> set_value(T value)
{
//THROW_ON_NULLPTR(std::get<1>(ReadOnlyHandle<T>::value_ptr_));
//std::get<1>(ReadOnlyHandle<T>::value_ptr_)->store(value, std::memory_order_relaxed);
THROW_ON_NULLPTR(ReadOnlyHandle<T>::value_ptr_);
*(ReadOnlyHandle<T>::value_ptr_) = value;
}
Expand Down

0 comments on commit ad1510a

Please sign in to comment.