diff options
Diffstat (limited to 'libstdc++-v3/include/bits/functional_hash.h')
-rw-r--r-- | libstdc++-v3/include/bits/functional_hash.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/functional_hash.h b/libstdc++-v3/include/bits/functional_hash.h index 022c5caf4cc..630a0841208 100644 --- a/libstdc++-v3/include/bits/functional_hash.h +++ b/libstdc++-v3/include/bits/functional_hash.h @@ -27,7 +27,7 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -/** @file functional_hash.h +/** @file bits/functional_hash.h * This is an internal header file, included by other library headers. * You should not attempt to use it directly. */ @@ -59,5 +59,15 @@ # undef _GLIBCXX_INCLUDE_AS_CXX0X #endif + +namespace std +{ + struct error_code; + + template<> + size_t + hash<error_code>::operator()(error_code) const; +} + #endif // _FUNCTIONAL_HASH_H |