As of C++11, std::swap is noexcept. #2386 (#3645)

* 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:
Aleksandar Fabijanic
2022-06-28 19:14:36 +02:00
committed by GitHub
parent c37780726d
commit 168f1eb6e2
86 changed files with 285 additions and 146 deletions

View File

@@ -59,7 +59,7 @@ public:
Name& operator = (Name&& name) noexcept;
/// Move assignment.
void swap(Name& name);
void swap(Name& name) noexcept;
/// Swaps the name with another one.
void assign(const XMLString& qname);
@@ -132,7 +132,7 @@ inline const XMLString& Name::localName() const
}
inline void swap(Name& n1, Name& n2)
inline void swap(Name& n1, Name& n2) noexcept
{
n1.swap(n2);
}

View File

@@ -47,7 +47,7 @@ public:
QName& operator = (const QName& qname);
QName& operator = (QName&& qname) noexcept;
void swap(QName& qname);
void swap(QName& qname) noexcept;
const std::string& namespaceURI() const;
/// Returns the namespace URI part of the name.