folly: fix EmplaceIterCtor test
authorLucian Grijincu <lucian@fb.com>
Fri, 11 Sep 2015 05:10:42 +0000 (22:10 -0700)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Fri, 11 Sep 2015 05:20:17 +0000 (22:20 -0700)
Reviewed By: @yfeldblum

Differential Revision: D2433146

folly/test/small_vector_test.cpp

index f78d34ee0a7b755cfe529497b7f1b38beaf1de75..f31bafa71183763dd8cdebc4c8aab0f95eafa6b8 100644 (file)
@@ -811,7 +811,7 @@ TEST(small_vector, EmplaceIterCtor) {
   std::vector<std::unique_ptr<int>> uv(v.begin(), v.end());
 
   std::vector<int*> w{new int(1), new int(2)};
-  small_vector<std::unique_ptr<int>> uw(v.begin(), v.end());
+  small_vector<std::unique_ptr<int>> uw(w.begin(), w.end());
 }
 
 TEST(small_vector, InputIterator) {