[udp, syslog] fix clang tidy (#8755)

This commit is contained in:
tomaszduda23 2025-05-12 23:17:28 +02:00 committed by GitHub
parent 58104229e2
commit facf94699e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include "esphome/components/udp/udp_component.h"
#include "esphome/components/time/real_time_clock.h"
#ifdef USE_NETWORK
namespace esphome {
namespace syslog {
class Syslog : public Component, public Parented<udp::UDPComponent> {
@ -23,3 +24,4 @@ class Syslog : public Component, public Parented<udp::UDPComponent> {
};
} // namespace syslog
} // namespace esphome
#endif

View File

@ -1,6 +1,7 @@
#pragma once
#include "udp_component.h"
#ifdef USE_NETWORK
#include "esphome/core/automation.h"
#include <vector>
@ -36,3 +37,4 @@ template<typename... Ts> class UDPWriteAction : public Action<Ts...>, public Par
} // namespace udp
} // namespace esphome
#endif

View File

@ -1,6 +1,7 @@
#pragma once
#include "../udp_component.h"
#ifdef USE_NETWORK
#include "esphome/core/component.h"
#include "esphome/components/packet_transport/packet_transport.h"
#include <vector>
@ -24,3 +25,4 @@ class UDPTransport : public packet_transport::PacketTransport, public Parented<U
} // namespace udp
} // namespace esphome
#endif