summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std/unordered_map
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-26 02:21:37 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-26 02:21:37 +0000
commit4493314a6f58ebdb610295a42a969a0a426377ae (patch)
treec7cc2201c4fc636d3a8bc47769de9df1d6abde85 /libstdc++-v3/include/std/unordered_map
parentb38ff3d741f226aafc966c195ea64770f121b30f (diff)
downloadppe42-gcc-4493314a6f58ebdb610295a42a969a0a426377ae.tar.gz
ppe42-gcc-4493314a6f58ebdb610295a42a969a0a426377ae.zip
2008-04-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/35922 * include/std/unordered_map: Include debug/unordered_map if _GLIBCXX_DEBUG. * testsuite/23_containers/unordered_map/requirements/debug.cc: Move... * testsuite/23_containers/unordered_map/requirements/ debug_container.cc: ...here. * testsuite/23_containers/unordered_map/requirements/debug_mode.cc: New. * testsuite/23_containers/unordered_set/requirements/debug.cc: Move... * testsuite/23_containers/unordered_set/requirements/ debug_container.cc: ...here. * testsuite/23_containers/unordered_set/requirements/debug_mode.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/unordered_map')
-rw-r--r--libstdc++-v3/include/std/unordered_map6
1 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/unordered_map b/libstdc++-v3/include/std/unordered_map
index 5fb714dd48d..73be402e474 100644
--- a/libstdc++-v3/include/std/unordered_map
+++ b/libstdc++-v3/include/std/unordered_map
@@ -1,6 +1,6 @@
// <unordered_map> -*- C++ -*-
-// Copyright (C) 2007 Free Software Foundation, Inc.
+// Copyright (C) 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
@@ -73,4 +73,8 @@
# undef _GLIBCXX_INCLUDE_AS_CXX0X
#endif
+#ifdef _GLIBCXX_DEBUG
+# include <debug/unordered_map>
+#endif
+
#endif // _GLIBCXX_UNORDERED_MAP
OpenPOWER on IntegriCloud