Skip to content

Commit 953d70f

Browse files
shinnokcvicentiu
authored andcommitted
MDEV-15778: Remove packed attr from omt_ and subtree_ classes
Undo the revert that happened by mystake in commit 7fca4b5.
1 parent 2124606 commit 953d70f

File tree

1 file changed

+4
-4
lines changed
  • storage/tokudb/ft-index/util

1 file changed

+4
-4
lines changed

storage/tokudb/ft-index/util/omt.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class subtree_templated {
181181
paranoid_invariant(index != NODE_NULL);
182182
m_index = index;
183183
}
184-
} __attribute__((__packed__,aligned(4)));
184+
} ;
185185

186186
template<>
187187
class subtree_templated<true> {
@@ -238,7 +238,7 @@ class subtree_templated<true> {
238238
inline void disable_bit(void) {
239239
m_bitfield &= MASK_INDEX;
240240
}
241-
} __attribute__((__packed__)) ;
241+
} ;
242242

243243
template<typename omtdata_t, bool subtree_supports_marks>
244244
class omt_node_templated {
@@ -251,7 +251,7 @@ class omt_node_templated {
251251
// this needs to be in both implementations because we don't have
252252
// a "static if" the caller can use
253253
inline void clear_stolen_bits(void) {}
254-
} __attribute__((__packed__,aligned(4)));
254+
} ;
255255

256256
template<typename omtdata_t>
257257
class omt_node_templated<omtdata_t, true> {
@@ -288,7 +288,7 @@ class omt_node_templated<omtdata_t, true> {
288288
this->unset_marked_bit();
289289
this->unset_marks_below_bit();
290290
}
291-
} __attribute__((__packed__,aligned(4)));
291+
} ;
292292

293293
}
294294

0 commit comments

Comments
 (0)