[apps/shared] Remove packed data members for RecordDataBuffer

Change-Id: I04ea5ccb4c15bda975bf5af178f07092c0387312
This commit is contained in:
Hugo Saint-Vignes
2020-06-04 12:24:29 +02:00
committed by Émilie Feral
parent 78a1350f15
commit 0a2ededfcf
8 changed files with 119 additions and 14 deletions

View File

@@ -81,10 +81,10 @@ private:
/* RecordDataBuffer is the layout of the data buffer of Record
* representing a ContinuousFunction. See comment on
* Shared::Function::RecordDataBuffer about packing. */
class __attribute__((packed)) RecordDataBuffer : public Function::RecordDataBuffer {
class RecordDataBuffer : public Function::RecordDataBuffer {
public:
RecordDataBuffer(KDColor color) :
Function::RecordDataBuffer(color),
Function::RecordDataBuffer(color, sizeof(RecordDataBuffer)),
m_plotType(PlotType::Cartesian),
m_domain(-INFINITY, INFINITY),
m_displayDerivative(false)