mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
libktorrent: ISO C++17 conformance fix
upstream commit:
54aeec19ac
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2c2b85af5e
commit
e79b72de8f
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ namespace dht
|
|||
}
|
||||
|
||||
|
||||
std::pair<KBucket::Ptr, KBucket::Ptr> KBucket::split() throw (KBucket::UnableToSplit)
|
||||
std::pair<KBucket::Ptr, KBucket::Ptr> KBucket::split() noexcept(false)
|
||||
{
|
||||
dht::Key m = dht::Key::mid(min_key, max_key);
|
||||
if(m == min_key || m + 1 == max_key)
|
||||
|
|
|
@ -84,7 +84,7 @@ namespace dht
|
|||
* @return A pair of KBucket's
|
||||
* @throw UnableToSplit if something goes wrong
|
||||
*/
|
||||
std::pair<KBucket::Ptr, KBucket::Ptr> split() throw (UnableToSplit);
|
||||
std::pair<KBucket::Ptr, KBucket::Ptr> split() noexcept(false);
|
||||
|
||||
/**
|
||||
* Inserts an entry into the bucket.
|
||||
|
|
Loading…
Add table
Reference in a new issue