clang compile fix - add braces around initialisation of union

This commit is contained in:
baldurk
2018-01-26 22:15:59 +00:00
parent ec7b2807d0
commit 280fe9ade2
+1 -1
View File
@@ -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)