Skip to content

Commit 4c33382

Browse files
[tools/robot-utils] robot-initialization with correct MPL parameters.
1 parent b34ea9c commit 4c33382

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/tools/robot-utils-py.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
* This file is part of sot-core.
55
* See license file.
66
*/
7+
#ifdef BOOST_MPL_LIMIT_VECTOR_SIZE
8+
#pragma push_macro("BOOST_MPL_LIMIT_VECTOR_SIZE")
9+
#undef BOOST_MPL_LIMIT_VECTOR_SIZE
10+
#include <boost/property_tree/ptree.hpp>
11+
#pragma pop_macro("BOOST_MPL_LIMIT_VECTOR_SIZE")
12+
#else
13+
#include <boost/property_tree/ptree.hpp>
14+
#endif
715

816
#include <boost/python.hpp>
917
#include <boost/python/suite/indexing/map_indexing_suite.hpp>

0 commit comments

Comments
 (0)