Use const& as it is illegal to bind a non const reference to a temporary
parent
cdf248d986
commit
6c93f42325
|
|
@ -184,8 +184,8 @@ public:
|
|||
|
||||
if (message.has("sides") && message.has("gltf_json"))
|
||||
{
|
||||
LLSD& sides = message.get("sides");
|
||||
LLSD& gltf_json = message.get("gltf_json");
|
||||
LLSD const& sides = message.get("sides");
|
||||
LLSD const& gltf_json = message.get("gltf_json");
|
||||
|
||||
if (sides.isArray() && gltf_json.isArray() &&
|
||||
sides.size() != 0 &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue