Skip to content

Commit 973e1f2

Browse files
committed
Fix self-move warning on gcc
1 parent a32790e commit 973e1f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pxr/base/arch/pragmas.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
#define ARCH_PRAGMA_STRINGOP_OVERFLOW \
5252
_Pragma("GCC diagnostic ignored \"-Wstringop-overflow=\"")
5353

54+
#define ARCH_PRAGMA_SELF_MOVE \
55+
_Pragma("GCC diagnostic ignored \"-Wself-move\"")
56+
5457
#elif defined(ARCH_COMPILER_CLANG)
5558

5659
#define ARCH_PRAGMA_PUSH \

0 commit comments

Comments
 (0)