class_<std::vector<ibapi::shared_ptr<OrderCondition>>>("OrderConditionList").def(vector_indexing_suite<std::vector<ibapi::shared_ptr<OrderCondition>>, true>()); 重复定义了。 删除一行。

This commit is contained in:
lxxia@googing.com.cn 2017-07-26 18:40:26 +08:00
parent c129342169
commit 9513c0e302

View File

@ -1798,9 +1798,6 @@ BOOST_PYTHON_MODULE(vnib)
class_<std::vector<ibapi::shared_ptr<OrderCondition>>>("OrderConditionList")
.def(vector_indexing_suite<std::vector<ibapi::shared_ptr<OrderCondition>>, true>());
class_<std::vector<ibapi::shared_ptr<OrderCondition>>>("OrderConditionList")
.def(vector_indexing_suite<std::vector<ibapi::shared_ptr<OrderCondition>>, true>());
class_<std::vector<std::string>>("StringList")
.def(vector_indexing_suite<std::vector<std::string>, true>());