mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-13 18:00:05 +00:00
Put const back on const char* in test case structs
This commit is contained in:
parent
f2d0775f1b
commit
d1dd2fbd7c
@ -47,7 +47,7 @@ struct LanguageCase {
|
||||
uint32_t get_language_value() const {
|
||||
return static_cast<uint32_t>(language_value);
|
||||
}
|
||||
char* language_name;
|
||||
const char* language_name;
|
||||
spv::SourceLanguage language_value;
|
||||
uint32_t version;
|
||||
};
|
||||
|
@ -55,7 +55,7 @@ TEST(GetWord, Simple) {
|
||||
struct MaskCase {
|
||||
spv_operand_type_t which_enum;
|
||||
uint32_t expected_value;
|
||||
char* expression;
|
||||
const char* expression;
|
||||
};
|
||||
|
||||
using GoodMaskParseTest = ::testing::TestWithParam<MaskCase>;
|
||||
|
Loading…
Reference in New Issue
Block a user