mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
Add NOLINT for redundant socket_ready_fd forward declaration
clang-tidy flags the forward declaration in application.h as redundant since socket.h (included earlier via esphome.h) already declares it. The forward declaration is needed here for the friend declaration.
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
namespace esphome::socket {
|
||||
#ifdef USE_SOCKET_SELECT_SUPPORT
|
||||
/// Shared ready() helper for fd-based socket implementations.
|
||||
bool socket_ready_fd(int fd, bool loop_monitored);
|
||||
bool socket_ready_fd(int fd, bool loop_monitored); // NOLINT(readability-redundant-declaration)
|
||||
#endif
|
||||
} // namespace esphome::socket
|
||||
|
||||
|
||||
Reference in New Issue
Block a user