[06/14] cxx-compat: Fix the use of abg_compat namespace in C++17

Message ID 20260925210608.3532891-7-dodji@seketeli.org
State New
Headers
Series [01/14] kmidiff.rst: Fix some typos in the kmidiff manual |

Commit Message

Dodji Seketeli Sept. 25, 2026, 9:06 p.m. UTC
  There is a thinko in abg-cxx-compat that prevents the use of
std::apply via the abg_compat namespace in C++17.  Fixed thus.

	* include/abg-cxx-compat.h: Allow the use of std::apply through
	the abg_compat namespace in C++17 and higher.

Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
---
 include/abg-cxx-compat.h | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/include/abg-cxx-compat.h b/include/abg-cxx-compat.h
index 1e0c24cb..a2b8ff6b 100644
--- a/include/abg-cxx-compat.h
+++ b/include/abg-cxx-compat.h
@@ -31,6 +31,7 @@  namespace abg_compat
 
 using std::optional;
 using std::tuple;
+using std::apply;
 
 #else