Kaydet (Commit) 7ed1d1de authored tarafından Jesús Corrius's avatar Jesús Corrius Kaydeden (comit) Fridrich Štrba

Make calls to unary_function and binary_function less ambiguous for VC10

üst f7a83e76
...@@ -130,13 +130,13 @@ struct MappingEntry ...@@ -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( () ) size_t operator()( const OUString & rKey ) const SAL_THROW( () )
{ return (size_t)rKey.hashCode(); } { 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( () ) size_t operator()( uno_Mapping * pKey ) const SAL_THROW( () )
{ return (size_t)pKey; } { return (size_t)pKey; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment