3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-03 13:56:08 +00:00

remove redundant assert

This commit is contained in:
Nuno Lopes 2026-02-08 11:26:44 +00:00
parent bc388672c1
commit 3a4f1fd65a

View file

@ -179,13 +179,11 @@ public:
const T & back() const { const T & back() const {
SASSERT(!empty()); SASSERT(!empty());
SASSERT(m_pos > 0);
return m_buffer[m_pos - 1]; return m_buffer[m_pos - 1];
} }
T & back() { T & back() {
SASSERT(!empty()); SASSERT(!empty());
SASSERT(m_pos > 0);
return m_buffer[m_pos - 1]; return m_buffer[m_pos - 1];
} }