forked from OctaForge/libostd
remove vector::pop_ret
parent
70f309df7a
commit
704066954a
|
@ -237,10 +237,6 @@ namespace octa {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
T &pop_ret() noexcept {
|
|
||||||
return p_buf[--p_len];
|
|
||||||
}
|
|
||||||
|
|
||||||
T &first() noexcept { return p_buf[0]; }
|
T &first() noexcept { return p_buf[0]; }
|
||||||
const T &first() const noexcept { return p_buf[0]; };
|
const T &first() const noexcept { return p_buf[0]; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue