mirror of
https://github.com/Z3Prover/z3
synced 2026-07-03 13:56:08 +00:00
remove redundant assert
This commit is contained in:
parent
bc388672c1
commit
3a4f1fd65a
1 changed files with 2 additions and 4 deletions
|
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue