@@ -7,10 +7,10 @@ namespace std
|
||||
{
|
||||
|
||||
template<class T>
|
||||
class hash< std::shared_ptr<T> >
|
||||
class hash< shared_ptr<T> >
|
||||
{
|
||||
public:
|
||||
size_t operator()(const std::shared_ptr<T>& key) const
|
||||
size_t operator()(const shared_ptr<T>& key) const
|
||||
{
|
||||
return (size_t)key.get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user