Skip to content

Commit f4223fe

Browse files
committed
Update to the latest oatpp API version
1 parent e1c5931 commit f4223fe

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
55
## use these variables to configure module installation
66

77
set(OATPP_THIS_MODULE_NAME oatpp-mbedtls) ## name of the module (also name of folders in installation dirs)
8-
set(OATPP_THIS_MODULE_VERSION "0.19.12") ## version of the module (also sufix of folders in installation dirs)
8+
set(OATPP_THIS_MODULE_VERSION "1.0.0") ## version of the module (also sufix of folders in installation dirs)
99
set(OATPP_THIS_MODULE_LIBRARIES oatpp-mbedtls) ## list of libraries to find when find_package is called
1010
set(OATPP_THIS_MODULE_TARGETS oatpp-mbedtls) ## list of targets to install
1111
set(OATPP_THIS_MODULE_DIRECTORIES oatpp-mbedtls) ## list of directories to install

src/oatpp-mbedtls/client/ConnectionProvider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ std::shared_ptr<ConnectionProvider> ConnectionProvider::createShared(const std::
4646
return std::shared_ptr<ConnectionProvider>(new ConnectionProvider(config, streamProvider));
4747
}
4848

49-
std::shared_ptr<ConnectionProvider> ConnectionProvider::createShared(const std::shared_ptr<Config>& config, const oatpp::String& host, v_word16 port) {
49+
std::shared_ptr<ConnectionProvider> ConnectionProvider::createShared(const std::shared_ptr<Config>& config, const oatpp::String& host, v_uint16 port) {
5050
return createShared(config, oatpp::network::client::SimpleTCPConnectionProvider::createShared(host, port));
5151
}
5252

src/oatpp-mbedtls/client/ConnectionProvider.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class ConnectionProvider : public oatpp::base::Countable, public oatpp::network:
6565
* @param port - port.
6666
* @return - `std::shared_ptr` to ConnectionProvider.
6767
*/
68-
static std::shared_ptr<ConnectionProvider> createShared(const std::shared_ptr<Config>& config, const oatpp::String& host, v_word16 port);
68+
static std::shared_ptr<ConnectionProvider> createShared(const std::shared_ptr<Config>& config, const oatpp::String& host, v_uint16 port);
6969

7070
/**
7171
* Implements &id:oatpp::network::ConnectionProvider::close;. Here does nothing.

src/oatpp-mbedtls/server/ConnectionProvider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ std::shared_ptr<ConnectionProvider> ConnectionProvider::createShared(const std::
4747
return std::shared_ptr<ConnectionProvider>(new ConnectionProvider(config, streamProvider));
4848
}
4949

50-
std::shared_ptr<ConnectionProvider> ConnectionProvider::createShared(const std::shared_ptr<Config>& config, v_word16 port) {
50+
std::shared_ptr<ConnectionProvider> ConnectionProvider::createShared(const std::shared_ptr<Config>& config, v_uint16 port) {
5151
return createShared(config, oatpp::network::server::SimpleTCPConnectionProvider::createShared(port));
5252
}
5353

src/oatpp-mbedtls/server/ConnectionProvider.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class ConnectionProvider : public oatpp::base::Countable, public oatpp::network:
6666
* @param port - port to listen on.
6767
* @return - `std::shared_ptr` to ConnectionProvider.
6868
*/
69-
static std::shared_ptr<ConnectionProvider> createShared(const std::shared_ptr<Config>& config, v_word16 port);
69+
static std::shared_ptr<ConnectionProvider> createShared(const std::shared_ptr<Config>& config, v_uint16 port);
7070

7171
/**
7272
* Virtual destructor.

0 commit comments

Comments
 (0)