Fix emplace on GrTRecorder.
Change-Id: I9250f62ce09f36f124cac6d867a09a4a262f5416 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/233302 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
This commit is contained in:
parent
b215131006
commit
26cedb4c60
@ -70,7 +70,7 @@ public:
|
||||
* between reinterpret_cast<TBase*> and static_cast<TBase*> when operating on TItem*.
|
||||
* Multiple inheritance may make this not true. It is runtime asserted.
|
||||
*/
|
||||
template <typename TItem, typename... Args> TItem& emplace(Args... args) {
|
||||
template <typename TItem, typename... Args> TItem& emplace(Args&&... args) {
|
||||
return this->emplaceWithData<TItem, Args...>(0, std::forward<Args>(args)...);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user