Index: include/core/SkTArray.h |
diff --git a/include/core/SkTArray.h b/include/core/SkTArray.h |
index 9f1bfa1ac18e5d82bba2ba2370f171bdf4876bdc..17cbc5c05ce857ea74bd07e23206ca02c5a42226 100644 |
--- a/include/core/SkTArray.h |
+++ b/include/core/SkTArray.h |
@@ -12,6 +12,7 @@ |
#include "SkTypes.h" |
#include <new> |
+#include <utility> |
template <typename T, bool MEM_COPY = false> class SkTArray; |
@@ -198,7 +199,7 @@ public: |
*/ |
template<class... Args> T& emplace_back(Args&&... args) { |
T* newT = reinterpret_cast<T*>(this->push_back_raw(1)); |
- return *new (newT) T(skstd::forward<Args>(args)...); |
+ return *new (newT) T(std::forward<Args>(args)...); |
} |
/** |