diff --git a/engine/src/flutter/impeller/entity/contents/text_contents.cc b/engine/src/flutter/impeller/entity/contents/text_contents.cc index 9495556bef..fceab90a6e 100644 --- a/engine/src/flutter/impeller/entity/contents/text_contents.cc +++ b/engine/src/flutter/impeller/entity/contents/text_contents.cc @@ -4,6 +4,7 @@ #include "impeller/entity/contents/text_contents.h" +#include #include #include #include @@ -193,7 +194,7 @@ bool TextContents::Render(const ContentContext& renderer, for (const Point& point : unit_points) { vtx.unit_position = point; - ::memcpy(vtx_contents++, &vtx, sizeof(VS::PerVertexData)); + std::memcpy(vtx_contents++, &vtx, sizeof(VS::PerVertexData)); } } }