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 adb07a7407
commit 2dce39fa8f

View file

@ -193,7 +193,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.