TangSiyang2001 opened a new pull request, #37688:
URL: https://github.com/apache/doris/pull/37688

   ## Proposed changes
   
   `std::shared_ptr::unique` is supported until cpp20. It was disabled by 
default since llvm-18. 
[see](https://releases.llvm.org/18.1.0/projects/libcxx/docs/ReleaseNotes/18.html#id4).
   
   Therefore, replace it with std::shared_ptr::use_count() == 1 for better 
compability. (Or we should work with 
_LIBCPP_ENABLE_CXX20_REMOVED_SHARED_PTR_UNIQUE which is ungraceful.)


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