From: khizmax Date: Sun, 5 Mar 2017 20:25:45 +0000 (+0300) Subject: [UBsan] Added proper alignment for EllenBinTree node X-Git-Tag: v2.3.0~136 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf833f152c06d9aadb74dec966d368cdf729d513;p=libcds.git [UBsan] Added proper alignment for EllenBinTree node --- 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