Commit 953d70f9 authored by Teodor Mircea Ionita's avatar Teodor Mircea Ionita Committed by Vicențiu Ciorbaru

MDEV-15778: Remove packed attr from omt_ and subtree_ classes

Undo the revert that happened by mystake in commit 7fca4b50.
parent 21246066
...@@ -181,7 +181,7 @@ class subtree_templated { ...@@ -181,7 +181,7 @@ class subtree_templated {
paranoid_invariant(index != NODE_NULL); paranoid_invariant(index != NODE_NULL);
m_index = index; m_index = index;
} }
} __attribute__((__packed__,aligned(4))); } ;
template<> template<>
class subtree_templated<true> { class subtree_templated<true> {
...@@ -238,7 +238,7 @@ class subtree_templated<true> { ...@@ -238,7 +238,7 @@ class subtree_templated<true> {
inline void disable_bit(void) { inline void disable_bit(void) {
m_bitfield &= MASK_INDEX; m_bitfield &= MASK_INDEX;
} }
} __attribute__((__packed__)) ; } ;
template<typename omtdata_t, bool subtree_supports_marks> template<typename omtdata_t, bool subtree_supports_marks>
class omt_node_templated { class omt_node_templated {
...@@ -251,7 +251,7 @@ class omt_node_templated { ...@@ -251,7 +251,7 @@ class omt_node_templated {
// this needs to be in both implementations because we don't have // this needs to be in both implementations because we don't have
// a "static if" the caller can use // a "static if" the caller can use
inline void clear_stolen_bits(void) {} inline void clear_stolen_bits(void) {}
} __attribute__((__packed__,aligned(4))); } ;
template<typename omtdata_t> template<typename omtdata_t>
class omt_node_templated<omtdata_t, true> { class omt_node_templated<omtdata_t, true> {
...@@ -288,7 +288,7 @@ class omt_node_templated<omtdata_t, true> { ...@@ -288,7 +288,7 @@ class omt_node_templated<omtdata_t, true> {
this->unset_marked_bit(); this->unset_marked_bit();
this->unset_marks_below_bit(); this->unset_marks_below_bit();
} }
} __attribute__((__packed__,aligned(4))); } ;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment