forked from boostorg/functional
Hash: Fix smart pointer macro check.
[SVN r79527]
This commit is contained in:
1 parent
84d32ce136
commit
1a126042f8
2 files changed
+2
-2
No files matched your search
@@ -179,7 +179,7 @@ namespace boost
|
||||
|
||||
#endif
|
||||
|
||||
#if !defined(BOOST_NO_CXX11_HDR_MEMORY)
|
||||
#if !defined(BOOST_NO_CXX11_SMART_PTR)
|
||||
template <typename T>
|
||||
inline std::size_t hash_value(std::shared_ptr<T> const& x) {
|
||||
return boost::hash_value(x.get());
|
||||
|
||||
Reference in new issue
Block a user