mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Fix gcc compile error
This commit is contained in:
@@ -330,7 +330,7 @@ void JobQueue::getNextJob (Job& job, ScopedLockType&)
|
|||||||
|
|
||||||
Count& count (mJobCounts [type]);
|
Count& count (mJobCounts [type]);
|
||||||
|
|
||||||
check_postcondition (type != JobType::jtINVALID);
|
check_postcondition (type != jtINVALID);
|
||||||
|
|
||||||
job = *iter;
|
job = *iter;
|
||||||
|
|
||||||
@@ -363,7 +363,7 @@ void JobQueue::finishJob (Job const& job)
|
|||||||
ScopedLockType lock (mJobLock);
|
ScopedLockType lock (mJobLock);
|
||||||
|
|
||||||
check_precondition (mJobSet.find (job) == mJobSet.end ());
|
check_precondition (mJobSet.find (job) == mJobSet.end ());
|
||||||
check_precondition (type != JobType::jtINVALID);
|
check_precondition (type != jtINVALID);
|
||||||
|
|
||||||
Count& count (mJobCounts [type]);
|
Count& count (mJobCounts [type]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user