From 2dce39fa8fde97e0c08dcc14a7eb970c866f6c90 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 17 Nov 2013 15:29:30 -0800 Subject: [PATCH] fix osx/libc++/boost-1.55 compile error - refs #1973 --- bindings/python/mapnik_text_placement.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bindings/python/mapnik_text_placement.cpp b/bindings/python/mapnik_text_placement.cpp index f52e2a01d..bc0a33209 100644 --- a/bindings/python/mapnik_text_placement.cpp +++ b/bindings/python/mapnik_text_placement.cpp @@ -193,7 +193,11 @@ struct ListNodeWrap: formatting::list_node, wrapper ListNodeWrap(object l) : formatting::list_node(), wrapper() { stl_input_iterator begin(l), end; - children_.insert(children_.end(), begin, end); + while (begin != end) + { + children_.push_back(*begin); + ++begin; + } } /* TODO: Add constructor taking variable number of arguments.