aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/ext/median.cc
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2010-02-15 17:35:11 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2010-02-15 17:35:11 +0000
commit961e1fdc405280ff4476149495111a20b7974b51 (patch)
treedf5c6c0e182b499ff8d336b58e1fb7d7b1e90284 /libstdc++-v3/testsuite/ext/median.cc
parenta934eb2d597bde268d5aaafcec572c350abe0611 (diff)
downloadgcc-961e1fdc405280ff4476149495111a20b7974b51.zip
gcc-961e1fdc405280ff4476149495111a20b7974b51.tar.gz
gcc-961e1fdc405280ff4476149495111a20b7974b51.tar.bz2
median.cc: Adjust.
2010-02-15 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/ext/median.cc: Adjust. From-SVN: r156780
Diffstat (limited to 'libstdc++-v3/testsuite/ext/median.cc')
-rw-r--r--libstdc++-v3/testsuite/ext/median.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/ext/median.cc b/libstdc++-v3/testsuite/ext/median.cc
index 1c3798d..fe220d8 100644
--- a/libstdc++-v3/testsuite/ext/median.cc
+++ b/libstdc++-v3/testsuite/ext/median.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2005, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2009, 2010 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
@@ -17,7 +17,7 @@
// median - SGI extension
-#include <algorithm>
+#include <ext/algorithm>
#include <testsuite_hooks.h>
bool pred(const int& l, const int& r)
@@ -25,9 +25,9 @@ bool pred(const int& l, const int& r)
return l<r;
}
-using std::__median;
+using __gnu_cxx::__median;
-int main(void)
+int main()
{
const int i=1;
const int j=2;