[XRay] Use a local lvalue as arg to AppendEmplace(...)
This is a follow-up to D54989.
Further work-around gcc-4.8 failing to handle brace-init with temporaries.
@@ -95,7 +95,8 @@ void post(const FunctionCallTrie &T, tid_t TId) XRAY_NEVER_INSTRUMENT {
if (GlobalAllocators == nullptr || ThreadTries == nullptr)
return;
- Item = ThreadTries->Append(ThreadTrie());
+ ThreadTrie Empty;
+ Item = ThreadTries->AppendEmplace(Empty);
if (Item == nullptr)
return;
