diff options
Diffstat (limited to 'flang-rt/lib/runtime/reduce.cpp')
| -rw-r--r-- | flang-rt/lib/runtime/reduce.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/flang-rt/lib/runtime/reduce.cpp b/flang-rt/lib/runtime/reduce.cpp index 3c5e815e32d2..778600b4b4fa 100644 --- a/flang-rt/lib/runtime/reduce.cpp +++ b/flang-rt/lib/runtime/reduce.cpp @@ -79,16 +79,16 @@ public: activeTemp_ = 1 - activeTemp_; } else { activeTemp_ = 0; - std::memcpy(&*temp_[activeTemp_], operand, elementBytes_); + runtime::memcpy(&*temp_[activeTemp_], operand, elementBytes_); } return true; } template <typename A> RT_API_ATTRS void GetResult(A *to, int /*zeroBasedDim*/ = -1) { if (activeTemp_ >= 0) { - std::memcpy(to, &*temp_[activeTemp_], elementBytes_); + runtime::memcpy(to, &*temp_[activeTemp_], elementBytes_); } else if (identity_) { - std::memcpy(to, identity_, elementBytes_); + runtime::memcpy(to, identity_, elementBytes_); } else { terminator_.Crash("REDUCE() without IDENTITY= has no result"); } |
