We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f56d521 commit 3f3ebc3Copy full SHA for 3f3ebc3
server/test/WebSocketTest.cpp
@@ -30,7 +30,7 @@ class TestComponent {
30
}());
31
32
OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::network::virtual_::Interface>, virtualInterface)([] {
33
- return oatpp::network::virtual_::Interface::createShared("virtualhost");
+ return oatpp::network::virtual_::Interface::obtainShared("virtualhost");
34
35
36
OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::network::ServerConnectionProvider>, serverConnectionProvider)([] {
0 commit comments