Skip to content

Commit

Permalink
Update to the latest oatpp API version
Browse files Browse the repository at this point in the history
  • Loading branch information
lganzzzo committed Jan 25, 2020
1 parent 1fe8f1d commit 2cf02b6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
## use these variables to configure module installation

set(OATPP_THIS_MODULE_NAME oatpp-libressl) ## name of the module (also name of folders in installation dirs)
set(OATPP_THIS_MODULE_VERSION "0.19.12") ## version of the module (also sufix of folders in installation dirs)
set(OATPP_THIS_MODULE_VERSION "1.0.0") ## version of the module (also sufix of folders in installation dirs)
set(OATPP_THIS_MODULE_LIBRARIES oatpp-libressl) ## list of libraries to find when find_package is called
set(OATPP_THIS_MODULE_TARGETS oatpp-libressl) ## list of targets to install
set(OATPP_THIS_MODULE_DIRECTORIES oatpp-libressl) ## list of directories to install
Expand Down
2 changes: 1 addition & 1 deletion src/oatpp-libressl/client/ConnectionProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ std::shared_ptr<ConnectionProvider> ConnectionProvider::createShared(const std::
return std::shared_ptr<ConnectionProvider>(new ConnectionProvider(config, streamProvider));
}

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

Expand Down
2 changes: 1 addition & 1 deletion src/oatpp-libressl/client/ConnectionProvider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class ConnectionProvider : public base::Countable, public oatpp::network::Client
* @param port - port.
* @return - `std::shared_ptr` to ConnectionProvider.
*/
static std::shared_ptr<ConnectionProvider> createShared(const std::shared_ptr<Config>& config, const oatpp::String& host, v_word16 port);
static std::shared_ptr<ConnectionProvider> createShared(const std::shared_ptr<Config>& config, const oatpp::String& host, v_uint16 port);

/**
* Implements &id:oatpp::network::ConnectionProvider::close;. Here does nothing.
Expand Down
2 changes: 1 addition & 1 deletion src/oatpp-libressl/server/ConnectionProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ std::shared_ptr<ConnectionProvider> ConnectionProvider::createShared(const std::
return std::shared_ptr<ConnectionProvider>(new ConnectionProvider(config, streamProvider));
}

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

Expand Down
2 changes: 1 addition & 1 deletion src/oatpp-libressl/server/ConnectionProvider.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ConnectionProvider : public oatpp::base::Countable, public oatpp::network:
* @param port - port to listen on.
* @return - `std::shared_ptr` to ConnectionProvider.
*/
static std::shared_ptr<ConnectionProvider> createShared(const std::shared_ptr<Config>& config, v_word16 port);
static std::shared_ptr<ConnectionProvider> createShared(const std::shared_ptr<Config>& config, v_uint16 port);


/**
Expand Down

0 comments on commit 2cf02b6

Please sign in to comment.