Merge pull request #593 from KhronosGroup/old-clang-compile
Fix compile on older clang.
This commit is contained in:
commit
0a83bacf3e
@ -1192,7 +1192,7 @@ const Bitset &Compiler::get_member_decoration_bitset(uint32_t id, uint32_t index
|
||||
auto &m = meta.at(id);
|
||||
if (index >= m.members.size())
|
||||
{
|
||||
static const Bitset cleared;
|
||||
static const Bitset cleared = {};
|
||||
return cleared;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user