Skip to content

Commit

Permalink
Merge pull request #127 from jan-provaznik/fix-binary-function
Browse files Browse the repository at this point in the history
Fixed std::binary_function deprecation.
  • Loading branch information
ctribes authored Aug 22, 2023
2 parents 34cd4c6 + c781c49 commit 5462a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Param/Parameters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
typedef std::shared_ptr<Attribute> SPtrAtt;

/// Comparator of shared_ptr<Attribute>
struct lessThanAttribute : public std::binary_function<SPtrAtt, SPtrAtt, bool>
struct lessThanAttribute
{
bool operator()(SPtrAtt lhs, SPtrAtt rhs) const
{
Expand Down

0 comments on commit 5462a6a

Please sign in to comment.