This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] Include less in testsuite_io.h
- From: Paolo Carlini <pcarlini at suse dot de>
- To: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 14 May 2007 18:48:33 +0200
- Subject: [v3] Include less in testsuite_io.h
... thus making regtesting without PCHs stricter and faster.
Tested x86-linux, committed.
Paolo.
///////////////
2007-05-14 Paolo Carlini <pcarlini@suse.de>
* testsuite/util/testsuite_io.h: Only include <ios>.
Index: testsuite/util/testsuite_io.h
===================================================================
--- testsuite/util/testsuite_io.h (revision 124715)
+++ testsuite/util/testsuite_io.h (working copy)
@@ -1,7 +1,7 @@
// -*- C++ -*-
// Testing streambuf/filebuf/stringbuf for the C++ library testsuite.
//
-// Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -31,8 +31,7 @@
#ifndef _GLIBCXX_TESTSUITE_IO_H
#define _GLIBCXX_TESTSUITE_IO_H
-#include <fstream>
-#include <sstream>
+#include <ios>
namespace __gnu_test
{