adonis0147 commented on code in PR #16290:
URL: https://github.com/apache/doris/pull/16290#discussion_r1093971670
##########
be/src/olap/rowset/unique_rowset_id_generator.h:
##########
@@ -28,7 +28,10 @@ namespace doris {
class UniqueRowsetIdGenerator : public RowsetIdGenerator {
public:
UniqueRowsetIdGenerator(const UniqueId& backend_uid);
- ~UniqueRowsetIdGenerator();
+ ~UniqueRowsetIdGenerator() override;
+
+ UniqueRowsetIdGenerator(const UniqueRowsetIdGenerator&) = delete;
+ UniqueRowsetIdGenerator operator=(const UniqueRowsetIdGenerator&) = delete;
Review Comment:
```suggestion
UniqueRowsetIdGenerator& operator=(const UniqueRowsetIdGenerator&) =
delete;
```
See
[https://en.cppreference.com/w/cpp/language/copy_assignment](https://en.cppreference.com/w/cpp/language/copy_assignment)
--
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]