Bug 1441112 - Stop including <iostream> in FStream.h. r=froydnj
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Wed, 28 Feb 2018 21:45:04 +0900
changeset 405747 c88a04f0291b81c7771735f25b52e72e544b726f
parent 405746 023a3a83d667d1c10319def65340467cb64db086
child 405748 e9edf63c2aea997f44c6e22b26bdedb861687b02
push id60336
push userVYV03354@nifty.ne.jp
push dateWed, 28 Feb 2018 18:44:58 +0000
treeherderautoland@c88a04f0291b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1441112
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1441112 - Stop including <iostream> in FStream.h. r=froydnj MozReview-Commit-ID: 8SBsucRbL3i
mfbt/FStream.h
--- a/mfbt/FStream.h
+++ b/mfbt/FStream.h
@@ -10,17 +10,18 @@
 // uses proprietary wchar_t* overloads on MSVC, and __gnu_cxx::stdio_filebuf
 // extension on MinGW. Once we can use C++17 filesystem API everywhere,
 // we will be able to avoid this wrapper.
 
 #ifndef mozilla_FStream_h
 #define mozilla_FStream_h
 
 #include "mozilla/Char16.h"
-#include <iostream>
+#include <istream>
+#include <ostream>
 #include <fstream>
 #if defined(__MINGW32__)
 #include "mozilla/UniquePtr.h"
 #include <fcntl.h>
 #include <ext/stdio_filebuf.h>
 #endif
 
 namespace mozilla {