From b3912f95663f187566278c4a360ac80af4af3ddf Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Fri, 9 Feb 2024 20:46:03 +0100 Subject: [PATCH] Add missing export macros in lexical_casts.hpp (#1382) --- .../include/hardware_interface/lexical_casts.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hardware_interface/include/hardware_interface/lexical_casts.hpp b/hardware_interface/include/hardware_interface/lexical_casts.hpp index 846d9f757c..042361e392 100644 --- a/hardware_interface/include/hardware_interface/lexical_casts.hpp +++ b/hardware_interface/include/hardware_interface/lexical_casts.hpp @@ -21,6 +21,8 @@ #include #include +#include "hardware_interface/visibility_control.h" + namespace hardware_interface { @@ -29,8 +31,10 @@ namespace hardware_interface * from https://github.com/ros-planning/srdfdom/blob/ad17b8d25812f752c397a6011cec64aeff090c46/src/model.cpp#L53 */ +HARDWARE_INTERFACE_PUBLIC double stod(const std::string & s); +HARDWARE_INTERFACE_PUBLIC bool parse_bool(const std::string & bool_string); } // namespace hardware_interface