Commit ed691eca authored by Marko Mäkelä's avatar Marko Mäkelä

Remove deprecated (in C++11) std::binary_function

parent a3da3c8a
......@@ -16327,7 +16327,7 @@ struct ShowStatus {
};
/** Order by m_waits, in descending order. */
struct OrderByWaits: public std::binary_function<Value, Value, bool>
struct OrderByWaits
{
/** @return true if rhs < lhs */
bool operator()(
......
/*****************************************************************************
Copyright (c) 2014, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, 2020, MariaDB Corporation.
Copyright (c) 2017, 2022, MariaDB Corporation.
Portions of this file contain modifications contributed and copyrighted by
Google, Inc. Those modifications are gratefully acknowledged and are described
......@@ -100,10 +100,6 @@ struct LatchDebug {
/** Comparator for the ThreadMap. */
struct os_thread_id_less
: public std::binary_function<
os_thread_id_t,
os_thread_id_t,
bool>
{
/** @return true if lhs < rhs */
bool operator()(
......@@ -389,10 +385,6 @@ struct LatchDebug {
private:
/** Comparator for the Levels . */
struct latch_level_less
: public std::binary_function<
latch_level_t,
latch_level_t,
bool>
{
/** @return true if lhs < rhs */
bool operator()(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment