fix osx/libc++/boost-1.55 compile error - refs #1973

This commit is contained in:
Dane Springmeyer 2013-11-17 15:29:30 -08:00
parent 09c919b3bd
commit f9a09be2b1

View file

@ -194,7 +194,11 @@ struct ListNodeWrap: formatting::list_node, wrapper<formatting::list_node>
ListNodeWrap(object l) : formatting::list_node(), wrapper<formatting::list_node>()
{
stl_input_iterator<formatting::node_ptr> 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.