diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-07-10 16:41:26 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-07-10 16:41:26 -0400 |
commit | 00ae56334c057c1ea5ad08c604b551fcbdf37a30 (patch) | |
tree | a2a19f9362659b30bfdc2f40098ffed7af85d440 /indra/llcommon | |
parent | b6ffedb03da628d809124da24b7f2c20252710a5 (diff) |
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.
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/lltypeinfolookup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/lltypeinfolookup.h b/indra/llcommon/lltypeinfolookup.h index 1e62d33488..583ca8863b 100644 --- a/indra/llcommon/lltypeinfolookup.h +++ b/indra/llcommon/lltypeinfolookup.h @@ -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; |