switch asio from standalone to boost
This commit is contained in:
@@ -11,6 +11,7 @@ set(AT_TARGET_NAME webcc_autotest)
|
||||
# Common libraries to link.
|
||||
set(AT_LIBS
|
||||
webcc
|
||||
${Boost_LIBRARIES}
|
||||
jsoncpp
|
||||
GTest::GTest
|
||||
"${CMAKE_THREAD_LIBS_INIT}")
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
class ClientTimeoutTest : public testing::Test {
|
||||
public:
|
||||
static void SetUpTestCase() {
|
||||
g_server.reset(new webcc::Server{ asio::ip::tcp::v4(), kPort });
|
||||
g_server.reset(new webcc::Server{ boost::asio::ip::tcp::v4(), kPort });
|
||||
|
||||
g_server->Route(webcc::R{ "/sleep/(\\d+)" },
|
||||
std::make_shared<HelloView>());
|
||||
|
||||
Reference in New Issue
Block a user