Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
Fix wrong control level in subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuhaow committed Mar 31, 2018
1 parent 83818b7 commit 491df84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ProxyServer/GCDHTTPProxyServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public final class GCDHTTPProxyServer: GCDProxyServer {
- parameter socket: The accepted socket.
*/
override func handleNewGCDSocket(_ socket: GCDTCPSocket) {
override open func handleNewGCDSocket(_ socket: GCDTCPSocket) {
let proxySocket = HTTPProxySocket(socket: socket)
didAcceptNewSocket(proxySocket)
}
Expand Down
2 changes: 1 addition & 1 deletion src/ProxyServer/GCDSOCKS5ProxyServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public final class GCDSOCKS5ProxyServer: GCDProxyServer {
- parameter socket: The accepted socket.
*/
override func handleNewGCDSocket(_ socket: GCDTCPSocket) {
override open func handleNewGCDSocket(_ socket: GCDTCPSocket) {
let proxySocket = SOCKS5ProxySocket(socket: socket)
didAcceptNewSocket(proxySocket)
}
Expand Down

0 comments on commit 491df84

Please sign in to comment.