MAINT-1175: Fix Windows build.

It seems MSVC doesn't like boost::make_transform_iterator() in the context I
was using it. Try directly invoking the iterator's constructor.
meow-7.2.2
Nat Goodspeed 2012-07-10 16:41:26 -04:00
parent b6ffedb03d
commit 00ae56334c
1 changed files with 2 additions and 2 deletions

View File

@ -100,11 +100,11 @@ public:
private:
iterator transform(impl_iterator iter)
{
return boost::make_transform_iterator(iter, boost::mem_fn(&impl_value_type::second));
return iterator(iter, boost::mem_fn(&impl_value_type::second));
}
const_iterator transform(impl_const_iterator iter)
{
return boost::make_transform_iterator(iter, boost::mem_fn(&impl_value_type::second));
return const_iterator(iter, boost::mem_fn(&impl_value_type::second));
}
impl_map_type mMap;