Xcode 5 fixing, part 1.

Need someone on xcode 4.x to confirm this works.

Once this file gets fixed, the others will be removed.
This commit is contained in:
Jason Felds
2013-11-04 19:45:23 -05:00
parent 4298f2542d
commit bfab952b6a
7 changed files with 13 additions and 21 deletions
-12
View File
@@ -43,18 +43,6 @@ inline Boolean LongValue( CFTypeRef o, long &n )
return CFNumberGetValue( CFNumberRef(o), kCFNumberLongType, &n );
}
namespace __gnu_cxx
{
template<>
struct hash<IOHIDElementCookie> : private hash<uintptr_t>
{
size_t operator()( const IOHIDElementCookie& cookie ) const
{
return hash<unsigned long>::operator()( uintptr_t(cookie) );
}
};
}
/* This is just awful, these aren't objects, treating them as such
* leads to: (*object)->function(object [, argument]...)
* Instead, do: CALL(object, function [, argument]...)