Skip to content

Commit

Permalink
Update to the latest oatpp version
Browse files Browse the repository at this point in the history
  • Loading branch information
lganzzzo committed Oct 16, 2019
1 parent 7cec230 commit ec1592f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/oatpp-websocket/FullAsyncTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class TestComponent {
}());

OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::network::virtual_::Interface>, virtualInterface)([] {
return oatpp::network::virtual_::Interface::createShared("virtualhost");
return oatpp::network::virtual_::Interface::obtainShared("virtualhost");
}());

OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::network::ServerConnectionProvider>, serverConnectionProvider)([] {
Expand Down
2 changes: 1 addition & 1 deletion test/oatpp-websocket/FullTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class TestComponent {
public:

OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::network::virtual_::Interface>, virtualInterface)([] {
return oatpp::network::virtual_::Interface::createShared("virtualhost");
return oatpp::network::virtual_::Interface::obtainShared("virtualhost");
}());

OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::network::ServerConnectionProvider>, serverConnectionProvider)([] {
Expand Down

0 comments on commit ec1592f

Please sign in to comment.