mirror of
https://github.com/esphome/esphome.git
synced 2025-10-19 10:13:49 +01:00
merge
This commit is contained in:
@@ -226,9 +226,6 @@ template<typename T> class FixedVector {
|
|||||||
// Clear the vector (reset size to 0, keep capacity)
|
// Clear the vector (reset size to 0, keep capacity)
|
||||||
void clear() { size_ = 0; }
|
void clear() { size_ = 0; }
|
||||||
|
|
||||||
// Check if vector is empty
|
|
||||||
bool empty() const { return size_ == 0; }
|
|
||||||
|
|
||||||
/// Add element without bounds checking
|
/// Add element without bounds checking
|
||||||
/// Caller must ensure sufficient capacity was allocated via init()
|
/// Caller must ensure sufficient capacity was allocated via init()
|
||||||
/// Silently ignores pushes beyond capacity (no exception or assertion)
|
/// Silently ignores pushes beyond capacity (no exception or assertion)
|
||||||
|
Reference in New Issue
Block a user