mirror of
https://github.com/Z3Prover/z3
synced 2026-05-05 18:05:15 +00:00
remove redundant assert
This commit is contained in:
parent
bc388672c1
commit
3a4f1fd65a
1 changed files with 2 additions and 4 deletions
|
|
@ -178,14 +178,12 @@ 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