From bf833f152c06d9aadb74dec966d368cdf729d513 Mon Sep 17 00:00:00 2001 From: khizmax Date: Sun, 5 Mar 2017 23:25:45 +0300 Subject: [PATCH] [UBsan] Added proper alignment for EllenBinTree node --- cds/intrusive/details/ellen_bintree_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cds/intrusive/details/ellen_bintree_base.h b/cds/intrusive/details/ellen_bintree_base.h index a0a8363b..8c0d7335 100644 --- a/cds/intrusive/details/ellen_bintree_base.h +++ b/cds/intrusive/details/ellen_bintree_base.h @@ -105,7 +105,7 @@ namespace cds { namespace intrusive { }; //@cond - struct basic_node + struct alignas( void* ) basic_node { enum flags { internal = 1, ///< set for internal node -- 2.34.1