This is an automated email from the ASF dual-hosted git repository.

twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new e4772a53 Fix StatusOr copy assignment (#1173)
e4772a53 is described below

commit e4772a5314c8f6fd033b026aa1d51a6974a61633
Author: SGZW <[email protected]>
AuthorDate: Sat Dec 10 00:11:12 2022 +0800

    Fix StatusOr copy assignment (#1173)
---
 src/common/status.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/status.h b/src/common/status.h
index e275226d..dcd3d9b9 100644
--- a/src/common/status.h
+++ b/src/common/status.h
@@ -171,7 +171,7 @@ struct StatusOr {  // NOLINT
     new (&error_) error_type(std::move(other.error_));
   }
 
-  Status& operator=(const Status&) = delete;
+  StatusOr& operator=(const StatusOr&) = delete;
 
   template <Code code>
   bool Is() const {

Reply via email to