Merge pull request #346 from scchan/fix_rhel_build

use assign rather than insert
This commit is contained in:
Maneesh Gupta
2018-01-26 06:59:25 +05:30
committed by GitHub
@@ -88,7 +88,7 @@ namespace hip_impl
std::copy_n(it, sizeof(y.cbuf), y.cbuf); std::copy_n(it, sizeof(y.cbuf), y.cbuf);
it += sizeof(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( std::copy_n(
f + y.offset, y.bundle_sz, std::back_inserter(y.blob)); f + y.offset, y.bundle_sz, std::back_inserter(y.blob));