From: Christopher Dykes Date: Wed, 24 Aug 2016 23:25:11 +0000 (-0700) Subject: Don't assume unsigned long is 64-bit X-Git-Tag: v2016.08.29.00~14 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=792c0340c032fe04b3bcba4aba2f6d5cfa36fbad;p=folly.git Don't assume unsigned long is 64-bit Summary: Because it isn't. Not on MSVC anyways. Reviewed By: yfeldblum Differential Revision: D3767326 fbshipit-source-id: 0f9421773819999f99be38ae0646ae3e81bde4e4 --- diff --git a/folly/test/small_vector_test.cpp b/folly/test/small_vector_test.cpp index 7e8c92db..a7e21166 100644 --- a/folly/test/small_vector_test.cpp +++ b/folly/test/small_vector_test.cpp @@ -634,7 +634,7 @@ TEST(small_vector, Basic) { } TEST(small_vector, Capacity) { - folly::small_vector vec; + folly::small_vector vec; EXPECT_EQ(vec.size(), 0); EXPECT_EQ(vec.capacity(), 1); @@ -646,8 +646,7 @@ TEST(small_vector, Capacity) { EXPECT_EQ(vec.size(), 2); EXPECT_GT(vec.capacity(), 1); - - folly::small_vector vec2; + folly::small_vector vec2; EXPECT_EQ(vec2.size(), 0); EXPECT_EQ(vec2.capacity(), 2);