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

zhangstar333 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 5539b2ac2cb [Fix](compile) fix master compile failure using gcc #35111
5539b2ac2cb is described below

commit 5539b2ac2cb6a01bcfb647dc6fb26f4d4355cf03
Author: zclllyybb <[email protected]>
AuthorDate: Tue May 21 15:08:41 2024 +0800

    [Fix](compile) fix master compile failure using gcc #35111
---
 be/src/util/deletion_vector.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/util/deletion_vector.h b/be/src/util/deletion_vector.h
index 45bd066c2ed..63908352700 100644
--- a/be/src/util/deletion_vector.h
+++ b/be/src/util/deletion_vector.h
@@ -68,7 +68,7 @@ public:
         roaring::Roaring roaring_bitmap;
         try {
             roaring_bitmap = roaring::Roaring::readSafe(buf, length);
-        } catch (std::runtime_error) {
+        } catch (std::runtime_error&) {
             return ResultError(Status::RuntimeError(
                     "DeletionVector deserialize error: failed to deserialize 
roaring bitmap"));
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to