From 0e7240462d8927578ff6830866abb64f80330706 Mon Sep 17 00:00:00 2001 From: yhy Date: Fri, 7 Feb 2025 15:42:38 +0800 Subject: [PATCH] erase warn --- includes/net/tcp/tcp_buffer.hpp | 1 - includes/net/tcp/tcp_client.hpp | 2 -- test/clienttest/clienttest.cc | 2 -- test/servertest/servertest.cc | 2 +- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/includes/net/tcp/tcp_buffer.hpp b/includes/net/tcp/tcp_buffer.hpp index 3a75dc3..c5ade82 100644 --- a/includes/net/tcp/tcp_buffer.hpp +++ b/includes/net/tcp/tcp_buffer.hpp @@ -1,5 +1,4 @@ #pragma once -#include "logger.hpp" #include #include #include diff --git a/includes/net/tcp/tcp_client.hpp b/includes/net/tcp/tcp_client.hpp index 1541e8b..f69e696 100644 --- a/includes/net/tcp/tcp_client.hpp +++ b/includes/net/tcp/tcp_client.hpp @@ -2,10 +2,8 @@ #include "abstract_coder.hpp" #include "client_tcp_connect.hpp" -#include "coroutine.hpp" #include "net_address.hpp" #include "reactor.hpp" -#include "tinypb_data.hpp" #include namespace tinyrpc { diff --git a/test/clienttest/clienttest.cc b/test/clienttest/clienttest.cc index 889491b..53ed105 100644 --- a/test/clienttest/clienttest.cc +++ b/test/clienttest/clienttest.cc @@ -2,8 +2,6 @@ #include "logger.hpp" #include "net_address.hpp" #include "reactor.hpp" -#include "tcp_client.hpp" -#include "tcp_server.hpp" #include "tinypb.pb.h" #include "tinypb_channel.hpp" #include "tinypb_closure.hpp" diff --git a/test/servertest/servertest.cc b/test/servertest/servertest.cc index 9aef48a..dbb5b71 100644 --- a/test/servertest/servertest.cc +++ b/test/servertest/servertest.cc @@ -2,7 +2,7 @@ #include "tcp_server.hpp" #include "tinypb.pb.h" #include -#include + using namespace std; using namespace tinyrpc;