mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01: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
@@ -77,7 +77,7 @@ public:
|
||||
TextIterator& operator = (const TextIterator& it);
|
||||
/// Assignment operator.
|
||||
|
||||
void swap(TextIterator& it);
|
||||
void swap(TextIterator& it) noexcept;
|
||||
/// Swaps the iterator with another one.
|
||||
|
||||
int operator * () const;
|
||||
@@ -123,7 +123,7 @@ inline bool TextIterator::operator != (const TextIterator& it) const
|
||||
}
|
||||
|
||||
|
||||
inline void swap(TextIterator& it1, TextIterator& it2)
|
||||
inline void swap(TextIterator& it1, TextIterator& it2) noexcept
|
||||
{
|
||||
it1.swap(it2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user