From 774661e1f03e3371a35088edce3721b6a3a3f6b0 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Tue, 30 Sep 2025 13:58:00 -0400 Subject: [PATCH] AsyncContinChainLink: Make getCallersContinuationShPtr() const --- include/asynchronousContinuation.h | 2 +- include/asynchronousContinuationChainLink.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asynchronousContinuation.h b/include/asynchronousContinuation.h index 60ca47d..a604a98 100644 --- a/include/asynchronousContinuation.h +++ b/include/asynchronousContinuation.h @@ -68,7 +68,7 @@ public: // Implement the virtual method from AsynchronousContinuationChainLink virtual std::shared_ptr - getCallersContinuationShPtr() override + getCallersContinuationShPtr() const override { return originalCallback.callerContinuation; } public: diff --git a/include/asynchronousContinuationChainLink.h b/include/asynchronousContinuationChainLink.h index 84a2663..60e8893 100644 --- a/include/asynchronousContinuationChainLink.h +++ b/include/asynchronousContinuationChainLink.h @@ -24,7 +24,7 @@ public: virtual ~AsynchronousContinuationChainLink() = default; virtual std::shared_ptr - getCallersContinuationShPtr() = 0; + getCallersContinuationShPtr() const = 0; }; } // namespace smo