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

Appearance settings

Commit a909868

Browse filesBrowse files
committed
Also check the versioa for clang
1 parent a3ef0db commit a909868
Copy full SHA for a909868

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎test/src/String/test_move.cpp

Copy file name to clipboardExpand all lines: test/src/String/test_move.cpp
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.