Commit 386cecb
committed
vertexcodec: Fix typedef shadowing warning in amalgamated builds
We define unaligned_int in meshopt:: namespace in meshletcodec.cpp and
inside decodeBytesGroupSimd in vertexcodec.cpp. These definitions do not
conflict but produce Wshadow warning on clang.
Since they are identical, we can move the vertexcodec definition to
meshopt namespace too; this results in typedef redefinition which is
valid when it's redundant (the type is the same).1 parent bd54817 commit 386cecb
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
816 | 816 | | |
817 | 817 | | |
818 | 818 | | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
819 | 825 | | |
820 | 826 | | |
821 | 827 | | |
| |||
834 | 840 | | |
835 | 841 | | |
836 | 842 | | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| |||
0 commit comments