Remove (#3657)
oexcept specifier from Context::IsCancelled() Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
80cf3d09fd
commit
593464ceda
@ -6,6 +6,8 @@
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Removed `noexcept` specification from `Azure::Core::Context::IsCancelled()`.
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
### Other Changes
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user