yiguolei commented on code in PR #45588:
URL: https://github.com/apache/doris/pull/45588#discussion_r1891694910
##########
be/src/vec/common/cow.h:
##########
@@ -203,7 +203,12 @@ class COW {
operator bool() const { return t != nullptr; }
- operator T*() const { return t; }
+#ifndef BE_TEST
+ [[deprecated("Implicit conversion should not be used. Please use get()
explicitly.")]]
+#endif
+ operator T*() const {
Review Comment:
delete this codeļ¼ no need to give warnings
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]