Skip to content

Commit

Permalink
remove temp cxxabi stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Max SCHMELLER <[email protected]>
  • Loading branch information
mojomex committed Oct 30, 2024
1 parent af70dda commit f4deaf5
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

#include <boost/asio/socket_base.hpp>

#include <cxxabi.h>

#include <cassert>
#include <sstream>
#include <stdexcept>
Expand Down Expand Up @@ -1432,10 +1430,9 @@ T HesaiHwInterface::CheckSizeAndParse(const std::vector<uint8_t> & data)
}

if (data.size() > sizeof(T)) {
RCLCPP_WARN_STREAM_ONCE(
*parent_node_logger, "Sensor returned longer payload than expected for "
<< abi::__cxa_demangle(typeid(T).name(), nullptr, nullptr, nullptr)
<< ". Truncating and parsing anyway.");
RCLCPP_WARN_ONCE(
*parent_node_logger,
"Sensor returned longer payload than expected. Truncating and parsing anyway.");
}

T parsed;
Expand Down

0 comments on commit f4deaf5

Please sign in to comment.