Commit df1544b
Avoid creating std::vector<const T> in UnorderedElementsAreArrayMatcher and others.
std::vector<const T> for trivially relocatable types is not allowed by C++ and is rejected by libc++ starting from llvm/llvm-project@4e112e5
PiperOrigin-RevId: 686487841
Change-Id: I3c90c7c0a6e8e23ffa5ebd1702a3f30ebc4a702f1 parent 62df7bd commit df1544b
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1523 | 1523 | | |
1524 | 1524 | | |
1525 | 1525 | | |
1526 | | - | |
| 1526 | + | |
1527 | 1527 | | |
1528 | 1528 | | |
1529 | 1529 | | |
| |||
3805 | 3805 | | |
3806 | 3806 | | |
3807 | 3807 | | |
3808 | | - | |
| 3808 | + | |
3809 | 3809 | | |
3810 | 3810 | | |
3811 | 3811 | | |
| |||
3826 | 3826 | | |
3827 | 3827 | | |
3828 | 3828 | | |
3829 | | - | |
| 3829 | + | |
3830 | 3830 | | |
3831 | 3831 | | |
3832 | 3832 | | |
| |||
4793 | 4793 | | |
4794 | 4794 | | |
4795 | 4795 | | |
4796 | | - | |
4797 | | - | |
4798 | | - | |
| 4796 | + | |
| 4797 | + | |
| 4798 | + | |
| 4799 | + | |
4799 | 4800 | | |
4800 | 4801 | | |
4801 | 4802 | | |
| |||
0 commit comments