Skip to content

Commit b3912f9

Browse files
authored
Add missing export macros in lexical_casts.hpp (ros-controls#1382)
1 parent 55eeb09 commit b3912f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hardware_interface/include/hardware_interface/lexical_casts.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#include <stdexcept>
2222
#include <string>
2323

24+
#include "hardware_interface/visibility_control.h"
25+
2426
namespace hardware_interface
2527
{
2628

@@ -29,8 +31,10 @@ namespace hardware_interface
2931
* from
3032
https://github.com/ros-planning/srdfdom/blob/ad17b8d25812f752c397a6011cec64aeff090c46/src/model.cpp#L53
3133
*/
34+
HARDWARE_INTERFACE_PUBLIC
3235
double stod(const std::string & s);
3336

37+
HARDWARE_INTERFACE_PUBLIC
3438
bool parse_bool(const std::string & bool_string);
3539

3640
} // namespace hardware_interface

0 commit comments

Comments
 (0)