diff options
Diffstat (limited to 'Examples/java/enum/example.h')
-rw-r--r-- | Examples/java/enum/example.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/java/enum/example.h b/Examples/java/enum/example.h index 525d62afc..9119cd9fc 100644 --- a/Examples/java/enum/example.h +++ b/Examples/java/enum/example.h @@ -5,7 +5,7 @@ enum color { RED, BLUE, GREEN }; class Foo { public: Foo() { } - enum speed { IMPULSE, WARP, LUDICROUS }; + enum speed { IMPULSE=10, WARP=20, LUDICROUS=30 }; void enum_test(speed s); }; |