Only support std::wstring when wchar_t is available

This hopefuly fixes #8552.

https://svn.boost.org/trac/boost/ticket/8552
This commit is contained in:
Daniel James
2016-12-05 22:37:45 +00:00
parent 98140b7373
commit b9c3499f45
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -456,7 +456,7 @@ namespace boost
BOOST_HASH_SPECIALIZE(long double)
BOOST_HASH_SPECIALIZE_REF(std::string)
#if !defined(BOOST_NO_STD_WSTRING)
#if !defined(BOOST_NO_STD_WSTRING) && !defined(BOOST_NO_INTRINSIC_WCHAR_T)
BOOST_HASH_SPECIALIZE_REF(std::wstring)
#endif