mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +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
@@ -149,7 +149,7 @@ public:
|
||||
///
|
||||
/// Throws an InvalidArgumentException if an argument date is out of range.
|
||||
|
||||
void swap(DateTime& dateTime);
|
||||
void swap(DateTime& dateTime) noexcept;
|
||||
/// Swaps the DateTime with another one.
|
||||
|
||||
int year() const;
|
||||
@@ -431,7 +431,7 @@ inline bool DateTime::isLeapYear(int year)
|
||||
}
|
||||
|
||||
|
||||
inline void swap(DateTime& d1, DateTime& d2)
|
||||
inline void swap(DateTime& d1, DateTime& d2) noexcept
|
||||
{
|
||||
d1.swap(d2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user