diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-15 17:35:11 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-02-15 17:35:11 +0000 |
commit | b04e3bd9745bea7e3d8595d8741477caf714cd8e (patch) | |
tree | df5c6c0e182b499ff8d336b58e1fb7d7b1e90284 /libstdc++-v3/testsuite/ext/median.cc | |
parent | 7c5f74ee897268533aa12582f5d9635c6a7d13b7 (diff) | |
download | gcc-b04e3bd9745bea7e3d8595d8741477caf714cd8e.tar.gz |
2010-02-15 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/ext/median.cc: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156780 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/ext/median.cc')
-rw-r--r-- | libstdc++-v3/testsuite/ext/median.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/ext/median.cc b/libstdc++-v3/testsuite/ext/median.cc index 1c3798d59c5..fe220d8ad42 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; |