use assign rather than insert

[ROCm/hip commit: 8acc8365fa]
Цей коміт міститься в:
Siu Chi Chan
2018-01-25 16:51:29 +00:00
джерело 0fe7e8e586
коміт 6e53c6d37a
+2 -2
Переглянути файл
@@ -88,7 +88,7 @@ namespace hip_impl
std::copy_n(it, sizeof(y.cbuf), y.cbuf);
it += sizeof(y.cbuf);
y.triple.insert(y.triple.cend(), it, it + y.triple_sz);
y.triple.assign(it, it + y.triple_sz);
std::copy_n(
f + y.offset, y.bundle_sz, std::back_inserter(y.blob));
@@ -155,4 +155,4 @@ namespace hip_impl
{
read(f, l, *this);
}
} // Namespace hip_impl.
} // Namespace hip_impl.