Fix bug when tracefile is not aligned. Now supports exotic architectures.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / event / types / StructDeclaration.java
index 1e43be6b24e41aa7e98bb8c411810e853c70f328..2f0ef53b1df62bb2b18706fbcecc6f5f1104459e 100644 (file)
@@ -61,6 +61,10 @@ public class StructDeclaration implements IDeclaration {
         return this.fieldsList;
     }
 
+    @Override
+    public long getAlignment() {
+        return getMinAlign();
+    }
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
This page took 0.042584 seconds and 5 git commands to generate.