diff options
author | Jesús Corrius <jesus@softcatala.org> | 2010-10-16 00:45:59 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-10-16 22:09:55 +0200 |
commit | 7ed1d1de5eef6aad14d1ad7c3286bc7cba08a5d5 (patch) | |
tree | 1bb78a3c05ad3b7c0f6b4967a60b3c46f45e4b43 /cppu | |
parent | f7a83e76bc83d0c1558f26dff894f3558592001e (diff) |
Make calls to unary_function and binary_function less ambiguous for VC10
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/lbmap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index 2b1449eae44f..243cfba6646e 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -130,13 +130,13 @@ struct MappingEntry {} }; //-------------------------------------------------------------------------------------------------- -struct FctOUStringHash : public unary_function< const OUString &, size_t > +struct FctOUStringHash : public std::unary_function< const OUString &, size_t > { size_t operator()( const OUString & rKey ) const SAL_THROW( () ) { return (size_t)rKey.hashCode(); } }; //-------------------------------------------------------------------------------------------------- -struct FctPtrHash : public unary_function< uno_Mapping *, size_t > +struct FctPtrHash : public std::unary_function< uno_Mapping *, size_t > { size_t operator()( uno_Mapping * pKey ) const SAL_THROW( () ) { return (size_t)pKey; } |