You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by pa...@apache.org on 2022/06/21 03:04:27 UTC

[doris] branch master updated: [Fix](compile) Fix compilation errors reported by clang (#10221)

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

panxiaolei 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 d056f5873b [Fix](compile) Fix compilation errors reported by clang (#10221)
d056f5873b is described below

commit d056f5873b9ddfd11e32dc97cb31f0cdf2ae3676
Author: Adonis Ling <ad...@gmail.com>
AuthorDate: Tue Jun 21 11:04:22 2022 +0800

    [Fix](compile) Fix compilation errors reported by clang (#10221)
    
    fix failed to build the codebase by clang
---
 be/src/vec/aggregate_functions/aggregate_function_product.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/aggregate_functions/aggregate_function_product.h b/be/src/vec/aggregate_functions/aggregate_function_product.h
index 0e392b0e69..cdf62a9dfc 100644
--- a/be/src/vec/aggregate_functions/aggregate_function_product.h
+++ b/be/src/vec/aggregate_functions/aggregate_function_product.h
@@ -60,7 +60,7 @@ public:
     using ColVecResult =
             std::conditional_t<IsDecimalNumber<T>, ColumnDecimal<TResult>, ColumnVector<TResult>>;
 
-    std::string get_name() const { return "product"; }
+    std::string get_name() const override { return "product"; }
 
     AggregateFunctionProduct(const DataTypes& argument_types_)
             : IAggregateFunctionDataHelper<Data, AggregateFunctionProduct<T, TResult, Data>>(


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org