From: Delyan Kratunov Date: Thu, 17 Nov 2016 00:48:47 +0000 (-0800) Subject: Remove unneeded iostream include X-Git-Tag: v2016.11.21.00~21 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=a64f5cb7bad69ab59d6f3456b8a80d1bfeacc190;p=folly.git Remove unneeded iostream include Summary: Including `iostream` in a header causes anything that uses this header to gain an extra static initializer for an `std::ios_base::Init` object. If there are N translation units in a library that use the header, that's N more static initializers that need to run. Reviewed By: yfeldblum Differential Revision: D4191798 fbshipit-source-id: 65b47401b9177177999cff65a47ac8dffa0e0546 --- diff --git a/folly/experimental/LockFreeRingBuffer.h b/folly/experimental/LockFreeRingBuffer.h index d117926a..a5c71a44 100644 --- a/folly/experimental/LockFreeRingBuffer.h +++ b/folly/experimental/LockFreeRingBuffer.h @@ -18,7 +18,6 @@ #include #include -#include #include #include #include