From 5c3ffc0e24f46540a2bc49cdaaca9cdfe157909f Mon Sep 17 00:00:00 2001 From: triton Date: Wed, 7 May 2014 14:59:58 +0100 Subject: [PATCH] Fixed EnumModifiers to define proper power of two values. --- src/AST/Enumeration.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AST/Enumeration.cs b/src/AST/Enumeration.cs index 55137878..60bf75ba 100644 --- a/src/AST/Enumeration.cs +++ b/src/AST/Enumeration.cs @@ -11,9 +11,9 @@ namespace CppSharp.AST [Flags] public enum EnumModifiers { - Anonymous, - Scoped, - Flags + Anonymous = 1 << 0, + Scoped = 1 << 1, + Flags = 1 << 2, } ///