Skip to content

Commit

Permalink
Fix invalid type for scramble
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Sep 12, 2024
1 parent aa3a48f commit 6ba769f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/include/proxy/proxy_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ R"x*x*x(<html>
return;

using Stream = std::decay_t<decltype(sock)>;
using ProxySocket = util::proxy_stream<tcp::socket>;
using ProxySocket = util::proxy_tcp_socket;

if constexpr (std::same_as<Stream, tcp::socket>)
return;
Expand Down Expand Up @@ -1094,7 +1094,7 @@ R"x*x*x(<html>
return;

using Stream = std::decay_t<decltype(sock)>;
using ProxySocket = util::proxy_stream<tcp::socket>;
using ProxySocket = util::proxy_tcp_socket;

if constexpr (std::same_as<Stream, tcp::socket>)
return;
Expand Down

0 comments on commit 6ba769f

Please sign in to comment.