fix compiler warning: deprecated std::binary_function (#609)

This commit is contained in:
Steffen Pankratz
2022-06-19 14:17:44 +02:00
committed by GitHub
parent 8402727f03
commit fa3361c014
+1 -2
View File
@@ -25,7 +25,6 @@
#include <deque> #include <deque>
#include <map> #include <map>
#include <queue> #include <queue>
#include <functional>
#include "lib/ebus/data.h" #include "lib/ebus/data.h"
#include "lib/ebus/result.h" #include "lib/ebus/result.h"
#include "lib/ebus/symbol.h" #include "lib/ebus/symbol.h"
@@ -800,7 +799,7 @@ class ChainedMessage : public Message {
/** /**
* A function that compares the weighted poll priority of two @a Message instances. * A function that compares the weighted poll priority of two @a Message instances.
*/ */
struct compareMessagePriority : binary_function<Message*, Message*, bool> { struct compareMessagePriority {
/** /**
* Compare the weighted poll priority of the two @a Message instances. * Compare the weighted poll priority of the two @a Message instances.
* @param x the first @a Message. * @param x the first @a Message.