fix a compile error on auto test

This commit is contained in:
Chunting Gu
2020-08-24 17:10:48 +08:00
parent 86187c7a7b
commit 20f02aa704
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ public:
class ClientTimeoutTest : public testing::Test {
public:
static void SetUpTestCase() {
g_server.reset(new webcc::Server{ kPort });
g_server.reset(new webcc::Server{ asio::ip::tcp::v4(), kPort });
g_server->Route(webcc::R{ "/sleep/(\\d+)" },
std::make_shared<HelloView>());