mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-26 20:01:17 +00:00
clang compile fix - add braces around initialisation of union
This commit is contained in:
@@ -454,7 +454,7 @@ value Connection::NewString(threadID thread, const std::string &str)
|
||||
|
||||
stringID ret;
|
||||
cmd.GetData().Read(ret).Done();
|
||||
return {Tag::String, ret};
|
||||
return {Tag::String, {ret}};
|
||||
}
|
||||
|
||||
value Connection::GetLocalValue(threadID thread, frameID frame, int32_t slot, Tag tag)
|
||||
|
||||
Reference in New Issue
Block a user