Replace boost::bind with BIND_TYPE where appropriate

This commit is contained in:
Vinnie Falco
2013-06-28 09:18:17 -07:00
parent 122f1c54e2
commit b0c401bc3f
14 changed files with 60 additions and 32 deletions

View File

@@ -26,6 +26,30 @@
#include "system/ripple_OpenSSLIncludes.h"
//------------------------------------------------------------------------------
// From
// http://stackoverflow.com/questions/4682343/how-to-resolve-conflict-between-boostshared-ptr-and-using-stdshared-ptr
//
#if __cplusplus > 201100L
namespace boost
{
template <class T>
const T* get_pointer (std::shared_ptr<T> const& ptr)
{
return ptr.get();
}
template <class T>
T* get_pointer (std::shared_ptr<T>& ptr)
{
return ptr.get();
}
}
#endif
//------------------------------------------------------------------------------
// ByteOrder
#ifdef WIN32
// (nothing)