diff --git a/test/fuzztest/ipcsocket_fuzzer/ipcsocket_fuzzer.cpp b/test/fuzztest/ipcsocket_fuzzer/ipcsocket_fuzzer.cpp index 05f5341d1..7ef2a5ba8 100644 --- a/test/fuzztest/ipcsocket_fuzzer/ipcsocket_fuzzer.cpp +++ b/test/fuzztest/ipcsocket_fuzzer/ipcsocket_fuzzer.cpp @@ -81,8 +81,8 @@ bool SocketConnectionFuzzTest(const uint8_t* data, size_t size) }; NetPacket packet(MessageId::COORDINATION_ADD_LISTENER); struct epoll_event ev{}; - std::shared_ptr tunnel = std::make_shared(); - std::unique_ptr client = std::make_unique(tunnel); + auto tunnel = std::make_shared(); + auto client = std::make_unique(tunnel); client->Connect(); client->Socket(); MessageId msgId { MessageId::INVALID };