mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
* As of C++11, std::swap is noexcept. #2386 * fix(Any): remove throw on swap * fix(Any): As of C++11, std::swap is noexcept. #2386 * fix(Any): make size const #2386 * fix(SimpleRowFormatter): clang won't compile noexcept #2386 * a couple of arm fixes * fix(Any): As of C++11, std::swap is noexcept. #2386 * fix(AnyTest): local() for POCO_NO_SOO# 2386 * test(RSACipher): RSA encryption without private key #2367 * chore(RSACipherTest): delete ciphers #2367
This commit is contained in:
committed by
GitHub
parent
c37780726d
commit
168f1eb6e2
@@ -98,7 +98,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
void swap(ConstIterator& it)
|
||||
void swap(ConstIterator& it) noexcept
|
||||
{
|
||||
using std::swap;
|
||||
// uninitialized iterators crash when swapped
|
||||
@@ -192,7 +192,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
void swap(Iterator& it)
|
||||
void swap(Iterator& it) noexcept
|
||||
{
|
||||
ConstIterator::swap(it);
|
||||
}
|
||||
@@ -265,7 +265,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
void swap(LinearHashTable& table)
|
||||
void swap(LinearHashTable& table) noexcept
|
||||
/// Swaps the LinearHashTable with another one.
|
||||
{
|
||||
using std::swap;
|
||||
|
||||
Reference in New Issue
Block a user