diff --git a/src/shared/LockedQueue.h b/src/shared/LockedQueue.h index c07ffcacb0..fd0a0d5d22 100644 --- a/src/shared/LockedQueue.h +++ b/src/shared/LockedQueue.h @@ -68,7 +68,8 @@ namespace ACE_Based //! Gets the next result in the queue, if any. bool next(T& result) { - ACE_Guard g(this->_lock); + // ACE_Guard g(this->_lock); + ACE_GUARD_RETURN (LockType, g, this->_lock, false); if (_queue.empty()) return false;