Commits

nat_linden committed c0f0b71

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.

Comments (0)

Files changed (1)

indra/llcommon/lltypeinfolookup.h

 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;