replace #include <ios> in FBString.h with lighter #include <iosfwd>
authorEric Niebler <eniebler@fb.com>
Sat, 15 Apr 2017 16:47:21 +0000 (09:47 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 15 Apr 2017 16:54:41 +0000 (09:54 -0700)
commitab7561bec78a9d6999f9d4f1305cd4d23306ea82
tree4481d107ff4535f3dcbc5c66afc1f24fa24d804e
parent507086879c31e0918c94e96fc696fac2501cc001
replace #include <ios> in FBString.h with lighter #include <iosfwd>

Summary:
FBString.h doesn't really use any of the facilities defined in <ios>, such as the stream manipulators. No sense dragging it into FBString.h.

This could potentially break downstream users if they are not already including the io facilities they are using. It's unlikely though because the actual stream types (std::ostream, std::istream) and stream objects (std::cout, std::cin) are defined in other headers that #include <ios>.

Reviewed By: yfeldblum, Orvid

Differential Revision: D4886133

fbshipit-source-id: 56adb93280eeeef8b09320b30fb224d4f72707bf
folly/FBString.h