Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit21ef2c6

Browse files
committed
Also check the versioa for clang
1 parent59b42bb commit21ef2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/src/String/test_move.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ TEST_CASE("Testing String move assignment", "[String-move-02]")
3131

3232
TEST_CASE("Testing String move self assignment","[String-move-03]")
3333
{
34-
#if defined(GCC_VERSION) && GCC_VERSION >= 13
34+
#if(defined(GCC_VERSION) && GCC_VERSION >= 13) || (defined(__clang_major__) && __clang_major__ >= 14)
3535
#pragma GCC diagnostic push
3636
#pragma GCC diagnostic ignored "-Wself-move"
3737
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp