mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 08:25:51 +00:00
Fix for c++03
This commit is contained in:
@@ -512,7 +512,8 @@ std::list<SHAMap::fetchPackEntry_t> SHAMap::getFetchPack(SHAMap* have, bool incl
|
|||||||
|
|
||||||
if (have)
|
if (have)
|
||||||
{
|
{
|
||||||
ul2 = boost::make_shared< boost::unique_lock<boost::recursive_mutex> >(have->mLock, boost::try_to_lock);
|
ul2 = boost::make_shared< boost::unique_lock<boost::recursive_mutex> >
|
||||||
|
(boost::ref(have->mLock), boost::try_to_lock);
|
||||||
if (!(*ul2))
|
if (!(*ul2))
|
||||||
{
|
{
|
||||||
cLog(lsINFO) << "Unable to create pack due to lock";
|
cLog(lsINFO) << "Unable to create pack due to lock";
|
||||||
|
|||||||
Reference in New Issue
Block a user