Suppress GCC 13 warning.

This commit is contained in:
levlam 2024-03-25 00:01:32 +03:00
parent fcfdd26a27
commit 586bc78413

View File

@ -144,9 +144,16 @@ TEST(Http, reader) {
#pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wunknown-warning-option" #pragma clang diagnostic ignored "-Wunknown-warning-option"
#pragma clang diagnostic ignored "-Wself-move" #pragma clang diagnostic ignored "-Wself-move"
#endif
#if TD_GCC
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#endif #endif
a = std::move(a); a = std::move(a);
b = std::move(b); b = std::move(b);
#if TD_GCC
#pragma GCC diagnostic pop
#endif
#if TD_CLANG #if TD_CLANG
#pragma clang diagnostic pop #pragma clang diagnostic pop
#endif #endif