oexcept specifier from Context::IsCancelled()

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2022-05-20 11:48:14 -07:00 committed by GitHub
parent 80cf3d09fd
commit 593464ceda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@
### Breaking Changes
- Removed `noexcept` specification from `Azure::Core::Context::IsCancelled()`.
### Bugs Fixed
### Other Changes

View File

@ -233,7 +233,7 @@ namespace Azure { namespace Core {
* @brief Checks if the context is cancelled.
* @return `true` if this context is cancelled; otherwise, `false`.
*/
bool IsCancelled() const noexcept { return GetDeadline() < std::chrono::system_clock::now(); }
bool IsCancelled() const { return GetDeadline() < std::chrono::system_clock::now(); }
/**
* @brief Checks if the context is cancelled.