avoid ambiguity between boost::python::range and boost::range - fixes compile error with llvm-gcc
This commit is contained in:
parent
a7ef5c7f60
commit
5ceecd40a3
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ void export_map()
|
|||
|
||||
class_<style_range>("StyleRange")
|
||||
.def("__iter__",
|
||||
range(&style_range::first, &style_range::second))
|
||||
boost::python::range(&style_range::first, &style_range::second))
|
||||
;
|
||||
|
||||
class_<Map>("Map","The map object.",init<int,int,optional<std::string const&> >(
|
||||
|
|
Loading…
Reference in a new issue