Skip to content

Commit e3cf4a2

Browse files
fengjingchao-cnfengqikai1414
authored andcommitted
fix read-json crash bug
1 parent eb41931 commit e3cf4a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ros/ros_comm/roscpp/include/ros/broadcast_manager.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
#ifndef ROSCPP_BROADCAST_MANAGER_H
3636
#define ROSCPP_BROADCAST_MANAGER_H
3737

38+
#define BOOST_SPIRIT_THREADSAFE // must define before include boost libs
39+
3840
#include <condition_variable>
3941
#include <functional>
4042
#include <future>

0 commit comments

Comments
 (0)