summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/posix/zpp_bits.h
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@fprintf.net>2024-08-06 14:19:20 +0200
committerDaniel Gryniewicz <dang@fprintf.net>2024-08-06 14:21:56 +0200
commit9b8d72f15a9b3529d7700aca5aa09d681a1917e1 (patch)
treeb242180ab88d5ff9cdf4dab74a7027307608a825 /src/rgw/driver/posix/zpp_bits.h
parentMerge pull request #59024 from zdover23/wip-doc-2024-08-05-README-building-ceph (diff)
downloadceph-9b8d72f15a9b3529d7700aca5aa09d681a1917e1.tar.xz
ceph-9b8d72f15a9b3529d7700aca5aa09d681a1917e1.zip
RGW - Zipper: pull in upstream fix for zpp_bits
zpp_bits included code that required a newere compiler. Pull in the upstream fix from: https://github.com/eyalz800/zpp_bits/pull/170 Fixes: https://tracker.ceph.com/issues/67321 Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
Diffstat (limited to '')
-rw-r--r--src/rgw/driver/posix/zpp_bits.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/rgw/driver/posix/zpp_bits.h b/src/rgw/driver/posix/zpp_bits.h
index c9e99ec59c2..229b0d6d20d 100644
--- a/src/rgw/driver/posix/zpp_bits.h
+++ b/src/rgw/driver/posix/zpp_bits.h
@@ -3752,16 +3752,16 @@ struct bind_opaque
requires(decltype(in.remaining_data()) & data) {
(context.*Function)(data);
}) {
- struct _
+ struct guard
{
decltype(in) archive;
decltype(in.remaining_data()) data;
- constexpr ~_()
+ constexpr ~guard()
{
archive.position() += data.size();
}
- } _{in, in.remaining_data()};
- return (context.*Function)(_.data);
+ } guard{in, in.remaining_data()};
+ return (context.*Function)(guard.data);
} else {
return (context.*Function)();
}
@@ -3776,16 +3776,16 @@ struct bind_opaque
requires(decltype(in.remaining_data()) & data) {
Function(data);
}) {
- struct _
+ struct guard
{
decltype(in) archive;
decltype(in.remaining_data()) data;
- constexpr ~_()
+ constexpr ~guard()
{
archive.position() += data.size();
}
- } _{in, in.remaining_data()};
- return Function(_.data);
+ } guard{in, in.remaining_data()};
+ return Function(guard.data);
} else {
return Function();
}