BiteTheDDDDt commented on code in PR #13941:
URL: https://github.com/apache/doris/pull/13941#discussion_r1012583346


##########
be/src/util/string_util.h:
##########
@@ -130,14 +130,16 @@ template <class T>
 using StringCaseUnorderedMap =
         std::unordered_map<std::string, T, StringCaseHasher, StringCaseEqual>;
 
-inline auto get_json_token(const std::string_view& path_string) {
 #ifdef USE_LIBCPP
+inline auto get_json_token(const std::string& path_string) {

Review Comment:
   maybe we can use template to automatictly find path_string's type



-- 
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

Reply via email to