This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] Don't include <fstream> in include/ext/stdio_sync_filebuf.h


Hi,

working on 12077 I noticed this include, which seems redundant.
Indeed, I removed it and successfully regtested.

If nobody objects will commit soon!

Paolo.

///////////
2003-10-03  Paolo Carlini  <pcarlini@unitus.it>

	* include/ext/stdio_sync_filebuf.h: Don't include
	unnecessarily <fstream>.
diff -urN libstdc++-v3-orig/include/ext/stdio_sync_filebuf.h libstdc++-v3/include/ext/stdio_sync_filebuf.h
--- libstdc++-v3-orig/include/ext/stdio_sync_filebuf.h	2003-09-03 16:54:03.000000000 +0200
+++ libstdc++-v3/include/ext/stdio_sync_filebuf.h	2003-10-03 11:40:43.000000000 +0200
@@ -36,7 +36,6 @@
 
 #pragma GCC system_header
 
-#include <fstream>
 #include <unistd.h>
 
 #if defined(_GLIBCXX_HAVE_S_ISREG) || defined(_GLIBCXX_HAVE_S_IFREG)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]