From 592833e299c938fcd97f322b84739ee6e732d3d6 Mon Sep 17 00:00:00 2001 From: Bret McGuire Date: Mon, 2 Oct 2023 10:36:26 -0500 Subject: [PATCH] Add type_traits include. PR #533 used std::underlying_type to make the MemoryOrder enum work with C++ 20 but apparently some older gcc instance still want the type_traits include that defines the underlying_type template. --- src/atomic/atomic_std.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/atomic/atomic_std.hpp b/src/atomic/atomic_std.hpp index 1a23cc1b1..08418a927 100644 --- a/src/atomic/atomic_std.hpp +++ b/src/atomic/atomic_std.hpp @@ -18,6 +18,7 @@ #define DATASTAX_INTERNAL_ATOMIC_STD_HPP #include +#include namespace datastax { namespace internal {