[complement-svn] SF.net SVN: complement: [1771] trunk/complement/explore/include/stem/Event. h
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2007-10-24 15:17:41
|
Revision: 1771 http://complement.svn.sourceforge.net/complement/?rev=1771&view=rev Author: complement Date: 2007-10-24 08:17:39 -0700 (Wed, 24 Oct 2007) Log Message: ----------- fix hash<void *> Modified Paths: -------------- trunk/complement/explore/include/stem/Event.h Modified: trunk/complement/explore/include/stem/Event.h =================================================================== --- trunk/complement/explore/include/stem/Event.h 2007-10-24 15:14:56 UTC (rev 1770) +++ trunk/complement/explore/include/stem/Event.h 2007-10-24 15:17:39 UTC (rev 1771) @@ -669,7 +669,7 @@ struct hash<void *> { size_t operator()(const void *__x) const - { return static_cast<size_t>(x); } + { return reinterpret_cast<size_t>(__x); } }; #endif // __GNUC__ < 4 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |