Merge pull request #23 from BlackMATov/dev

Dev
This commit is contained in:
2019-05-27 01:25:46 +07:00
committed by GitHub

View File

@@ -1296,9 +1296,7 @@ namespace promise_hpp
namespace std namespace std
{ {
template < typename T > template < typename T >
struct hash<promise_hpp::promise<T>> struct hash<promise_hpp::promise<T>> final {
: std::unary_function<promise_hpp::promise<T>, std::size_t>
{
std::size_t operator()(const promise_hpp::promise<T>& p) const noexcept { std::size_t operator()(const promise_hpp::promise<T>& p) const noexcept {
return p.hash(); return p.hash();
} }