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 / EnumDeclaration.java
index 2ae8b29d05230af7a3b3c55e3109d985736318fb..f1fa82cb44acd7960acbff8a90d63871db1efcc8 100644 (file)
@@ -43,6 +43,10 @@ public class EnumDeclaration implements IDeclaration {
         return containerType;
     }
 
+    @Override
+    public long getAlignment() {
+        return this.getContainerType().getAlignment();
+    }
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
@@ -137,4 +141,5 @@ public class EnumDeclaration implements IDeclaration {
         return "[declaration] enum[" + Integer.toHexString(hashCode()) + ']'; //$NON-NLS-1$
     }
 
+
 }
This page took 0.026051 seconds and 5 git commands to generate.