Skip to content

Commit

Permalink
Suppress GCC 13 warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Mar 24, 2024
1 parent fcfdd26 commit 586bc78
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/http.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,16 @@ TEST(Http, reader) {
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wunknown-warning-option"
#pragma clang diagnostic ignored "-Wself-move"
#endif
#if TD_GCC
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#endif
a = std::move(a);
b = std::move(b);
#if TD_GCC
#pragma GCC diagnostic pop
#endif
#if TD_CLANG
#pragma clang diagnostic pop
#endif
Expand Down

0 comments on commit 586bc78

Please sign in to comment.