[WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWi...
[WebKit-https.git] / Source / WebCore / Modules / webgpu / WHLSL / AST / WHLSLVariableDeclaration.h
index 3d02813..fa86551 100644 (file)
@@ -65,7 +65,7 @@ public:
         , m_name(WTFMove(name))
     {
         if (semantic || !qualifiers.isEmpty())
-            m_rareData = std::make_unique<RareData>(WTFMove(qualifiers), WTFMove(semantic));
+            m_rareData = makeUnique<RareData>(WTFMove(qualifiers), WTFMove(semantic));
     }
 
     ~VariableDeclaration() = default;