mirror of
https://github.com/esphome/esphome.git
synced 2025-10-13 23:33:48 +01:00
add comments for bot
This commit is contained in:
@@ -192,7 +192,7 @@ template<typename T> class FixedVector {
|
||||
|
||||
/// Add element without bounds checking
|
||||
/// Caller must ensure sufficient capacity was allocated via init()
|
||||
/// Silently ignores pushes beyond capacity to avoid runtime overhead
|
||||
/// Silently ignores pushes beyond capacity (no exception or assertion)
|
||||
void push_back(const T &value) {
|
||||
if (size_ < capacity_) {
|
||||
data_[size_++] = value;
|
||||
|
Reference in New Issue
Block a user