3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-09 18:40:51 +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

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