Skip to content

Commit 592833e

Browse files
author
Bret McGuire
committed
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.
1 parent e196870 commit 592833e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/atomic/atomic_std.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#define DATASTAX_INTERNAL_ATOMIC_STD_HPP
1919

2020
#include <atomic>
21+
#include <type_traits>
2122

2223
namespace datastax { namespace internal {
2324

0 commit comments

Comments
 (0)