X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Ftestsuite%2F25_algorithms%2Fminmax%2F3.cc;h=11d18e15d2e6db25ca96547663945bc6bbed66e0;hb=83ffe9cde7fe0b4deb0d1b54175fd9b19c38179c;hp=a06e4bfab1f81d01a2a61092a50dc26ff0ef13ee;hpb=a5544970246db337977bb8b69ab120e9ef209317;p=thirdparty%2Fgcc.git diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc index a06e4bfab1f8..11d18e15d2e6 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/3.cc @@ -2,7 +2,7 @@ // 2008-09-16 Chris Fairles -// Copyright (C) 2008-2019 Free Software Foundation, Inc. +// Copyright (C) 2008-2023 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 @@ -24,8 +24,11 @@ #include struct compare_counter - : std::binary_function { + typedef int result_type; + typedef int first_argument_type; + typedef bool second_argument_type; + static int count; bool operator()(int a, int b) const