diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-23 13:59:35 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-23 13:59:35 +0000 |
commit | a9976e18ce5831531816abb3bb1ffa08b0aaabcb (patch) | |
tree | bce34c129b315eff95f123c9ac6d25bf71394a13 /storage/src | |
parent | c3c152485a4e2d246d4dd50909a3481cdce71347 (diff) |
Avoid having mutating methods const.
Diffstat (limited to 'storage/src')
-rw-r--r-- | storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.cpp | 2 | ||||
-rw-r--r-- | storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.cpp b/storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.cpp index 4deaf0b23f3..d7dd0be7f4f 100644 --- a/storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.cpp +++ b/storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.cpp @@ -644,7 +644,7 @@ TwoPhaseUpdateOperation::satisfiesUpdateTimestampConstraint(api::Timestamp ts) c } void -TwoPhaseUpdateOperation::addTraceFromReply(const api::StorageReply& reply) +TwoPhaseUpdateOperation::addTraceFromReply(api::StorageReply & reply) { _trace.addChild(reply.steal_trace()); } diff --git a/storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.h b/storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.h index 8dde87d334b..8527ff0ffba 100644 --- a/storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.h +++ b/storage/src/vespa/storage/distributor/operations/external/twophaseupdateoperation.h @@ -125,7 +125,7 @@ private: DistributorMessageSender& sender, const document::Document& candidateDoc); bool satisfiesUpdateTimestampConstraint(api::Timestamp) const; - void addTraceFromReply(const api::StorageReply& reply); + void addTraceFromReply(api::StorageReply& reply); bool hasTasCondition() const noexcept; void replyWithTasFailure(DistributorMessageSender& sender, vespalib::stringref message); |