carlvinhust2012 commented on code in PR #17300: URL: https://github.com/apache/doris/pull/17300#discussion_r1122523334
########## be/src/vec/functions/cast_type_to_either.h: ########## @@ -27,7 +27,7 @@ namespace doris::vectorized { class IDataType; template <typename... Ts, typename F> -static bool cast_type_to_either(const IDataType* type, F&& f) { +inline bool cast_type_to_either(const IDataType* type, F&& f) { Review Comment: here change from 'static' to 'inline' , does not affect the visible range of the function? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org