Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24809


Change subject: [misc] fix compilation warnings with GCC-15 on CWG #2237
......................................................................

[misc] fix compilation warnings with GCC-15 on CWG #2237

Since GCC-15 implemented the resolution on CWG Issue 2237 [1], there
was a flood of warnings like below when compiling with GCC-15.  This
changelist addresses the issue.

  src/kudu/gutil/macros.h:98:11: warning: template-id not allowed for 
constructor in C++20 [-Wtemplate-id-cdtor]
     98 |   TypeName(const TypeName&) = delete;      \
        |           ^
  src/kudu/gutil/ref_counted.h:102:3: note: in expansion of macro 
‘DISALLOW_COPY_AND_ASSIGN’
    102 |   DISALLOW_COPY_AND_ASSIGN(RefCounted<T>);
        |   ^~~~~~~~~~~~~~~~~~~~~~~~
  src/kudu/gutil/macros.h:98:11: note: remove the ‘< >’

This changelist doesn't contain any functional modifications.

[1] https://cplusplus.github.io/CWG/issues/2237.html

Change-Id: Idb863c8cf547d6da79489944269f0c257de7411b
---
M src/kudu/common/key_encoder.cc
M src/kudu/gutil/ref_counted.h
M src/kudu/gutil/stl_util.h
3 files changed, 10 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/09/24809/1
--
To view, visit http://gerrit.cloudera.org:8080/24809
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idb863c8cf547d6da79489944269f0c257de7411b
Gerrit-Change-Number: 24809
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to