diff options
Diffstat (limited to 'src/shared/LockedQueue.h')
| -rw-r--r-- | src/shared/LockedQueue.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/LockedQueue.h b/src/shared/LockedQueue.h index c07ffcacb02..fd0a0d5d22d 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<LockType> g(this->_lock); + // ACE_Guard<LockType> g(this->_lock); + ACE_GUARD_RETURN (LockType, g, this->_lock, false); if (_queue.empty()) return false; |
