Commit bb1efade authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Fix folly/test/stl_tests/StlVectorTest.cpp under gcc8 with -Wparentheses

Summary:
[Folly] Fix `folly/test/stl_tests/StlVectorTest.cpp` under gcc8 with `-Wparentheses`.

```
folly/test/stl_tests/StlVectorTest.cpp: In function 'void test_copyConstruction(std::nullptr_t, Vector&, int)':
folly/test/stl_tests/StlVectorTest.cpp:1780:11: error: unnecessary parentheses in declaration of 'ca2' [-Werror=parentheses]
```

Reviewed By: Gownta

Differential Revision: D13604947

fbshipit-source-id: 36c0b596e07a19d4b282266574d1f4b837d5af4a
parent a2782696
...@@ -1777,7 +1777,7 @@ STL_TEST("23.2.1 Table 96.10-11", copyConstruction, is_copy_constructible, a) { ...@@ -1777,7 +1777,7 @@ STL_TEST("23.2.1 Table 96.10-11", copyConstruction, is_copy_constructible, a) {
<< "only a shallow copy was made"; << "only a shallow copy was made";
if (false) { if (false) {
Vector(ca2); Vector ca2(ca);
Vector u2 = ca2; Vector u2 = ca2;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment