summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-07-10 16:41:26 -0400
committerNat Goodspeed <nat@lindenlab.com>2012-07-10 16:41:26 -0400
commit00ae56334c057c1ea5ad08c604b551fcbdf37a30 (patch)
treea2a19f9362659b30bfdc2f40098ffed7af85d440
parentb6ffedb03da628d809124da24b7f2c20252710a5 (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.
-rw-r--r--indra/llcommon/lltypeinfolookup.h4
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;