diff --git a/src/ext/yuni/src/yuni/core/atomic/int.hxx b/src/ext/yuni/src/yuni/core/atomic/int.hxx index 769fa74a4d..0ee6dd00aa 100644 --- a/src/ext/yuni/src/yuni/core/atomic/int.hxx +++ b/src/ext/yuni/src/yuni/core/atomic/int.hxx @@ -90,13 +90,13 @@ inline Int::operator ScalarType() const template class TP> inline typename Int::ScalarType Int::operator++() { - return (threadSafe) ? Private::AtomicImpl::Operator::Increment(*this) : (++pValue); + return Private::AtomicImpl::Operator::Increment(*this); } template class TP> inline typename Int::ScalarType Int::operator--() { - return (threadSafe) ? Private::AtomicImpl::Operator::Decrement(*this) : (--pValue); + return Private::AtomicImpl::Operator::Decrement(*this); } template class TP>