From 329c175b0c7d4f79ba69901c8fabaad4870ef793 Mon Sep 17 00:00:00 2001 From: Alex Samorukov Date: Wed, 19 Jul 2023 19:48:23 +0200 Subject: [PATCH] message.h: remove std:binary_function This PR removes 'binary_function' reference to fix error on freebsd/current ``` no member named 'binary_function' in namespace 'std'; ``` binary_function is deprecated in C++11 and removed in C++17. Good thing that ebusd is not using it anyway, so IMHO it is safe to remove. --- src/lib/ebus/message.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/ebus/message.h b/src/lib/ebus/message.h index 5cc5fb5b..fcd60ac9 100644 --- a/src/lib/ebus/message.h +++ b/src/lib/ebus/message.h @@ -58,7 +58,6 @@ namespace ebusd { * template class. */ -using std::binary_function; using std::priority_queue; using std::deque;