forked from premiere/premiere-libtorrent
some code indentation, one more use of nullptr and constexpr
This commit is contained in:
parent
a6c85496b5
commit
8083a6c2bd
|
@ -70,7 +70,7 @@ namespace libtorrent {
|
|||
struct http_connection;
|
||||
struct resolver_interface;
|
||||
|
||||
const int default_max_bottled_buffer_size = 2 * 1024 * 1024;
|
||||
constexpr int default_max_bottled_buffer_size = 2 * 1024 * 1024;
|
||||
|
||||
typedef std::function<void(error_code const&
|
||||
, http_parser const&, span<char const> data, http_connection&)> http_handler;
|
||||
|
@ -93,7 +93,7 @@ struct TORRENT_EXTRA_EXPORT http_connection
|
|||
, http_connect_handler const& ch = http_connect_handler()
|
||||
, http_filter_handler const& fh = http_filter_handler()
|
||||
#ifdef TORRENT_USE_OPENSSL
|
||||
, ssl::context* ssl_ctx = 0
|
||||
, ssl::context* ssl_ctx = nullptr
|
||||
#endif
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue