github-actions[bot] commented on code in PR #16299:
URL: https://github.com/apache/doris/pull/16299#discussion_r1091884725


##########
be/src/olap/base_tablet.h:
##########
@@ -101,7 +101,7 @@ inline const std::string& BaseTablet::tablet_path() const {
     return _tablet_path;
 }
 
-inline const TabletMetaSharedPtr BaseTablet::tablet_meta() {
+inline const TabletMetaSharedPtr& BaseTablet::tablet_meta() {

Review Comment:
   warning: return type of out-of-line definition of 
'doris::BaseTablet::tablet_meta' differs from that in the declaration 
[clang-diagnostic-error]
   ```cpp
   inline const TabletMetaSharedPtr& BaseTablet::tablet_meta() {
                                                 ^
   ```
   **be/src/olap/base_tablet.h:47:** previous declaration is here
   ```cpp
       const TabletMetaSharedPtr tablet_meta();
                                 ^
   ```
   



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