1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 07:13:47 +01:00

add comments for bot

This commit is contained in:
J. Nick Koston
2025-10-11 17:35:31 -10:00
parent 2ff3e7fb2b
commit 4c00861760

View File

@@ -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;