Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ namespace std {

result_type operator()(const argument_type& p) const SPIMPL_NOEXCEPT
{
return hash<typename argument_type::pointer>()(p.get());
return hash<typename argument_type::const_pointer>()(p.get());
}
};

Expand All @@ -584,7 +584,7 @@ namespace std {

result_type operator()(const argument_type& p) const SPIMPL_NOEXCEPT
{
return hash<typename argument_type::pointer>()(p.get());
return hash<typename argument_type::const_pointer>()(p.get());
}
};
}
Expand Down