From: Maged Michael Date: Sat, 20 Jan 2018 05:46:22 +0000 (-0800) Subject: Fix integer sign consistency. X-Git-Tag: v2018.01.22.00^0 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=73fbda10ad950396a9869ebc60df8f2ef52cd5f8 Fix integer sign consistency. Summary: Keeping all variables that interact with hazptr_domain::rcount_ signed int to avoid conversion errors. Reviewed By: yfeldblum Differential Revision: D6754593 fbshipit-source-id: e283f127a112a529a0e98eb82b6061b44aa9d2ca --- diff --git a/folly/concurrency/test/DynamicBoundedQueueTest.cpp b/folly/concurrency/test/DynamicBoundedQueueTest.cpp index 290df3da..a4421011 100644 --- a/folly/concurrency/test/DynamicBoundedQueueTest.cpp +++ b/folly/concurrency/test/DynamicBoundedQueueTest.cpp @@ -93,17 +93,6 @@ TEST(DynamicBoundedQueue, basic) { basic_test(); } -TEST(DynamicBoundedQueue, size) { - { - folly::DynamicBoundedQueue q(10); - ASSERT_EQ(sizeof(q), 640); - } - { - folly::DynamicBoundedQueue q(10); - ASSERT_EQ(sizeof(q), 80 + sizeof(folly::hazptr::hazptr_obj_batch)); - } -} - template