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]

[v3] Minor include tweaks


Hi,

tested x86_64-linux, committed to mainline.

Paolo.

/////////////////
2008-01-08  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
	not include <cassert>.
	* testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
	Likewise.
	* testsuite/util/testsuite_common_types.h: Include <algorithm>.
Index: testsuite/22_locale/global_templates/user_facet_hierarchies.cc
===================================================================
--- testsuite/22_locale/global_templates/user_facet_hierarchies.cc	(revision 131401)
+++ testsuite/22_locale/global_templates/user_facet_hierarchies.cc	(working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007 Free Software Foundation
+// Copyright (C) 2007, 2008 Free Software Foundation
 //
 // 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
@@ -18,7 +18,6 @@
 
 #include <string>
 #include <locale>
-#include <cassert>
 #include <testsuite_hooks.h>
 
 // Based on Langer Kreft "Standard C++ IOStreams and Locales" p 316-318
Index: testsuite/22_locale/global_templates/standard_facet_hierarchies.cc
===================================================================
--- testsuite/22_locale/global_templates/standard_facet_hierarchies.cc	(revision 131401)
+++ testsuite/22_locale/global_templates/standard_facet_hierarchies.cc	(working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007 Free Software Foundation
+// Copyright (C) 2007, 2008 Free Software Foundation
 //
 // 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
@@ -18,7 +18,6 @@
 
 #include <string>
 #include <locale>
-#include <cassert>
 #include <testsuite_hooks.h>
 
 // Based on Langer Kreft "Standard C++ IOStreams and Locales" p 316-318
Index: testsuite/util/testsuite_common_types.h
===================================================================
--- testsuite/util/testsuite_common_types.h	(revision 131401)
+++ testsuite/util/testsuite_common_types.h	(working copy)
@@ -1,7 +1,7 @@
 // -*- C++ -*-
 // typelist for the C++ library testsuite. 
 //
-// Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2007, 2008 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
@@ -40,6 +40,8 @@
 #include <ext/bitmap_allocator.h>
 #include <ext/pool_allocator.h>
 
+#include <algorithm>
+
 #include <vector>
 #include <list>
 #include <deque>

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