From 5d17622a12e9da424fb70b0929135fae7fed55ca Mon Sep 17 00:00:00 2001 From: Agus Imam Fauzi Date: Sat, 19 Aug 2023 14:09:39 +0700 Subject: [PATCH] compatibility(MSVC): rename 'interface' to '_interface' --- test/app/TestComponent.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/app/TestComponent.hpp b/test/app/TestComponent.hpp index b98b011..4765501 100644 --- a/test/app/TestComponent.hpp +++ b/test/app/TestComponent.hpp @@ -28,16 +28,16 @@ class TestComponent { * Create server ConnectionProvider of oatpp virtual connections for test */ OATPP_CREATE_COMPONENT(std::shared_ptr, serverConnectionProvider)([] { - OATPP_COMPONENT(std::shared_ptr, interface); - return oatpp::network::virtual_::server::ConnectionProvider::createShared(interface); + OATPP_COMPONENT(std::shared_ptr, _interface); + return oatpp::network::virtual_::server::ConnectionProvider::createShared(_interface); }()); /** * Create client ConnectionProvider of oatpp virtual connections for test */ OATPP_CREATE_COMPONENT(std::shared_ptr, clientConnectionProvider)([] { - OATPP_COMPONENT(std::shared_ptr, interface); - return oatpp::network::virtual_::client::ConnectionProvider::createShared(interface); + OATPP_COMPONENT(std::shared_ptr, _interface); + return oatpp::network::virtual_::client::ConnectionProvider::createShared(_interface); }()); /**