0_0_13690780_14423.cpp: In function 'int hash_add(const status&, int)':
0_0_13690780_14423.cpp:116:13: error: reference to 'hash' is ambiguous
int h = hash(a);
^
0_0_13690780_14423.cpp:95:12: note: candidates are: int hash(const status&)
inline int hash (const status& a)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_13690780_14423.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
|