summaryrefslogtreecommitdiff
path: root/flang-rt/lib/runtime/internal-unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flang-rt/lib/runtime/internal-unit.cpp')
-rw-r--r--flang-rt/lib/runtime/internal-unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/flang-rt/lib/runtime/internal-unit.cpp b/flang-rt/lib/runtime/internal-unit.cpp
index e344b01e8b34..cdcee2daaec4 100644
--- a/flang-rt/lib/runtime/internal-unit.cpp
+++ b/flang-rt/lib/runtime/internal-unit.cpp
@@ -72,7 +72,7 @@ RT_API_ATTRS bool InternalDescriptorUnit<DIR>::Emit(
BlankFill(record + furthestPositionInRecord,
positionInRecord - furthestPositionInRecord);
}
- std::memcpy(record + positionInRecord, data, bytes);
+ runtime::memcpy(record + positionInRecord, data, bytes);
positionInRecord += bytes;
furthestPositionInRecord = furthestAfter;
return ok;