This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[Patch] Don't include <fstream> in include/ext/stdio_sync_filebuf.h
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: libstdc++ at gcc dot gnu dot org
- Cc: Pétur Runólfsson <peturr02 at ru dot is>
- Date: Fri, 03 Oct 2003 11:46:24 +0200
- Subject: [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)