Put const back on const char* in test case structs

This commit is contained in:
David Neto 2015-09-18 12:08:36 -04:00
parent f2d0775f1b
commit d1dd2fbd7c
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ struct LanguageCase {
uint32_t get_language_value() const { uint32_t get_language_value() const {
return static_cast<uint32_t>(language_value); return static_cast<uint32_t>(language_value);
} }
char* language_name; const char* language_name;
spv::SourceLanguage language_value; spv::SourceLanguage language_value;
uint32_t version; uint32_t version;
}; };

View File

@ -55,7 +55,7 @@ TEST(GetWord, Simple) {
struct MaskCase { struct MaskCase {
spv_operand_type_t which_enum; spv_operand_type_t which_enum;
uint32_t expected_value; uint32_t expected_value;
char* expression; const char* expression;
}; };
using GoodMaskParseTest = ::testing::TestWithParam<MaskCase>; using GoodMaskParseTest = ::testing::TestWithParam<MaskCase>;