fix ambiguous session constructor

This commit is contained in:
arvidn 2015-06-05 02:38:07 -04:00
parent 15dd15d0d6
commit 5841822f73
1 changed files with 1 additions and 2 deletions

View File

@ -218,8 +218,7 @@ namespace libtorrent
#ifndef TORRENT_NO_DEPRECATE #ifndef TORRENT_NO_DEPRECATE
TORRENT_DEPRECATED TORRENT_DEPRECATED
session(fingerprint const& print = fingerprint("LT" session(fingerprint const& print
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
, int flags = start_default_features | add_default_plugins , int flags = start_default_features | add_default_plugins
, boost::uint32_t alert_mask = alert::error_notification) , boost::uint32_t alert_mask = alert::error_notification)
{ {