avoid ambiguity between boost::python::range and boost::range - fixes compile error with llvm-gcc

This commit is contained in:
Dane Springmeyer 2013-03-19 14:09:36 -07:00
parent a7ef5c7f60
commit 5ceecd40a3

View file

@ -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&> >(