Skip to content

Commit 46f23ed

Browse files
authored
clang-tidy: fix error in test_listener_filter.h (envoyproxy#38615)
This fixes the clang-tidy error in test_listener_filter.h as in "use '= default' to define a trivial default constructor". Contributes to envoyproxy#28566 Signed-off-by: Takeshi Yoneda <[email protected]>
1 parent 7c2ebe3 commit 46f23ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/filters/test_listener_filter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class TestUdpListenerFilter : public Network::UdpListenerReadFilter {
8787

8888
class TestFirstPacketReceivedFilterState : public StreamInfo::FilterState::Object {
8989
public:
90-
explicit TestFirstPacketReceivedFilterState() {}
90+
explicit TestFirstPacketReceivedFilterState() = default;
9191
static const absl::string_view key() { return "test.filter_state.quic_first_packet_received"; }
9292
void incrementPacketCount() { packet_count_++; }
9393
void setPacketLength(size_t packet_length) { packet_length_ = packet_length; }

0 commit comments

Comments
 (0)