Merge "Always specify underlying enum type."

This commit is contained in:
Treehugger Robot
2016-12-01 17:15:54 +00:00
committed by Gerrit Code Review
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
package android.hardware.tests.baz@1.0;
interface IBase {
enum SomeBaseEnum {
enum SomeBaseEnum : int32_t {
grrr = 1,
};

View File

@@ -178,7 +178,7 @@ interface IExpression {
MAX_PLUS_2 // 1
};
enum Constants {
enum Constants : int32_t {
CONST_FOO,
CONST_BAR = 70,
MAX_ARRAY_SIZE = 20,

View File

@@ -486,7 +486,7 @@ struct StaScanResult {
/**
* Mask of flags set in the |ScanData| instance.
*/
enum StaScanDataFlagMask {
enum StaScanDataFlagMask : int32_t {
/**
* Indicates that a scan was interrupted/did not occur so results may be
* incomplete.