fix conditional
This commit is contained in:
parent
12483ab00b
commit
2a45c7db02
|
|
@ -652,7 +652,7 @@ public:
|
||||||
VlQueue out;
|
VlQueue out;
|
||||||
if (VL_UNLIKELY(lsb > msb)) return out;
|
if (VL_UNLIKELY(lsb > msb)) return out;
|
||||||
if (VL_UNLIKELY(lsb == msb)) {
|
if (VL_UNLIKELY(lsb == msb)) {
|
||||||
if (lsb > 0 && lsb < m_deque.size()) {
|
if (lsb >= 0 && lsb < m_deque.size()) {
|
||||||
out.push_back(m_deque[lsb]);
|
out.push_back(m_deque[lsb]);
|
||||||
}
|
}
|
||||||
return out;
|
return out;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue