mirror of
https://github.com/BlackMATov/promise.hpp.git
synced 2025-12-13 03:46:29 +07:00
@@ -1296,9 +1296,7 @@ namespace promise_hpp
|
||||
namespace std
|
||||
{
|
||||
template < typename T >
|
||||
struct hash<promise_hpp::promise<T>>
|
||||
: std::unary_function<promise_hpp::promise<T>, std::size_t>
|
||||
{
|
||||
struct hash<promise_hpp::promise<T>> final {
|
||||
std::size_t operator()(const promise_hpp::promise<T>& p) const noexcept {
|
||||
return p.hash();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user