mirror of
https://github.com/esphome/esphome.git
synced 2025-09-13 08:42:18 +01:00
Activate owning-memory clang-tidy check (#1891)
* Activate owning-memory clang-tidy check * Lint * Lint * Fix issue with new NfcTag constructor * Update pointers for number and select * Add back the NOLINT to display buffer * Fix merge * DSMR fixes * Nextion fixes * Fix pipsolar * Fix lwip socket * Format * Change socket fix Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -338,7 +338,7 @@ template<typename T> T *new_buffer(size_t length) {
|
||||
buffer = new T[length];
|
||||
}
|
||||
#else
|
||||
buffer = new T[length];
|
||||
buffer = new T[length]; // NOLINT
|
||||
#endif
|
||||
|
||||
return buffer;
|
||||
|
Reference in New Issue
Block a user