Skip to content

Commit

Permalink
Add comment about memory alignment
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Schürmann <daschuer@mixxx.org>
  • Loading branch information
JoergAtGithub and daschuer committed Jun 28, 2024
1 parent 829ae91 commit a1b5c25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/control/control.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ class ControlDoublePrivate : public QObject {

QString m_trackKey;

// Whether to track value changes with the stats framework.
// Note: keep the order of the members below to not introduce gaps due to
// memory alignment in this often used class. Whether to track value changes
// with the stats framework.
int m_trackType;
int m_trackFlags;
bool m_bTrack;
Expand Down

0 comments on commit a1b5c25

Please sign in to comment.