diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md index 17f328aba5..ea1d9d9db9 100644 --- a/sdk/core/azure-core/CHANGELOG.md +++ b/sdk/core/azure-core/CHANGELOG.md @@ -6,6 +6,8 @@ ### Breaking Changes +- Removed `noexcept` specification from `Azure::Core::Context::IsCancelled()`. + ### Bugs Fixed ### Other Changes diff --git a/sdk/core/azure-core/inc/azure/core/context.hpp b/sdk/core/azure-core/inc/azure/core/context.hpp index 2e72f85d49..a4ae92e631 100644 --- a/sdk/core/azure-core/inc/azure/core/context.hpp +++ b/sdk/core/azure-core/inc/azure/core/context.hpp @@ -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.