Skip to content

Commit d8d6e5b

Browse files
authored
Make the Channel class as a part of public APIs (#90)
1 parent 5798d68 commit d8d6e5b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ set(TRANTOR_SOURCES
5757
trantor/net/InetAddress.cc
5858
trantor/net/TcpClient.cc
5959
trantor/net/TcpServer.cc
60+
trantor/net/Channel.cc
6061
trantor/net/inner/Acceptor.cc
61-
trantor/net/inner/Channel.cc
6262
trantor/net/inner/Connector.cc
6363
trantor/net/inner/Poller.cc
6464
trantor/net/inner/Socket.cc
@@ -118,7 +118,8 @@ set(public_net_headers
118118
trantor/net/TcpConnection.h
119119
trantor/net/TcpServer.h
120120
trantor/net/callbacks.h
121-
trantor/net/Resolver.h)
121+
trantor/net/Resolver.h
122+
trantor/net/Channel.h)
122123

123124
set(public_utils_headers
124125
trantor/utils/AsyncFileLogger.h
File renamed without changes.
File renamed without changes.

trantor/net/inner/AresResolver.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Author: Tao An
77

88
#include "AresResolver.h"
9-
#include <trantor/net/inner/Channel.h>
9+
#include <trantor/net/Channel.h>
1010
#include <ares.h>
1111
#ifdef _WIN32
1212
#include <winsock2.h>

0 commit comments

Comments
 (0)