From 4afe79b5900826f193f930b738c345de5399c6bf Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Thu, 15 Aug 2013 08:26:22 -0700 Subject: [PATCH] Fix gcc compile error --- modules/ripple_core/functional/ripple_JobQueue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ripple_core/functional/ripple_JobQueue.cpp b/modules/ripple_core/functional/ripple_JobQueue.cpp index 3442c22461..88d5ee3452 100644 --- a/modules/ripple_core/functional/ripple_JobQueue.cpp +++ b/modules/ripple_core/functional/ripple_JobQueue.cpp @@ -330,7 +330,7 @@ void JobQueue::getNextJob (Job& job, ScopedLockType&) Count& count (mJobCounts [type]); - check_postcondition (type != JobType::jtINVALID); + check_postcondition (type != jtINVALID); job = *iter; @@ -363,7 +363,7 @@ void JobQueue::finishJob (Job const& job) ScopedLockType lock (mJobLock); check_precondition (mJobSet.find (job) == mJobSet.end ()); - check_precondition (type != JobType::jtINVALID); + check_precondition (type != jtINVALID); Count& count (mJobCounts [type]);