Skip to content

Commit

Permalink
Tpetra: Don't use std::binary_function
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed May 25, 2023
1 parent 9e6a21d commit 51a6074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tpetra/core/src/Tpetra_ConfigDefs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ namespace Tpetra {
/// this and other reasons not to state <tt>using namespace
/// std;</tt> in the global namespace.
template<class Arg1, class Arg2>
class project1st : public std::binary_function<Arg1, Arg2, Arg1> {
class project1st {
public:
typedef Arg1 first_argument_type;
typedef Arg2 second_argument_type;
Expand All @@ -176,7 +176,7 @@ namespace Tpetra {
/// this and other reasons not to state <tt>using namespace
/// std;</tt> in the global namespace.
template<class Arg1, class Arg2>
class project2nd : public std::binary_function<Arg1, Arg2, Arg2> {
class project2nd {
public:
typedef Arg1 first_argument_type;
typedef Arg2 second_argument_type;
Expand Down

0 comments on commit 51a6074

Please sign in to comment.