summaryrefslogtreecommitdiff
path: root/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch')
-rw-r--r--sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch b/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch
deleted file mode 100644
index 356da385fedb..000000000000
--- a/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/src/include/buffer.h b/src/include/buffer.h
-index 7c8f90e9fb5d3..71cb01935000b 100644
---- a/src/include/buffer.h
-+++ b/src/include/buffer.h
-@@ -41,6 +41,7 @@
- #include <iosfwd>
- #include <iomanip>
- #include <list>
-+#include <memory>
- #include <vector>
- #include <string>
- #if __cplusplus >= 201703L
-
-diff --git a/src/test/encoding.cc b/src/test/encoding.cc
-index 6d252fae18b71..f18901cbd27d9 100644
---- a/src/test/encoding.cc
-+++ b/src/test/encoding.cc
-@@ -334,11 +334,11 @@ void lame_decoder(int which) {
- }
-
- TEST(EncodingException, Macros) {
-- for (unsigned i = 0; i < sizeof(expected_what)/sizeof(expected_what[0]); i++) {
-+ for (unsigned i = 0; i < std::size(expected_what); i++) {
- try {
- lame_decoder(i);
- } catch (const exception& e) {
-- ASSERT_EQ(string(expected_what[i]), string(e.what()));
-+ ASSERT_NE(string(e.what()).find(expected_what[i]), string::npos);
- }
- }
- }