Skip to content
This repository was archived by the owner on May 24, 2020. It is now read-only.

Commit 31dd980

Browse files
committed
Fix copying moduledir & builddir shared by multiple kernels
1 parent 178be0b commit 31dd980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ek2/layouts/std.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ bool StdLayout::find_kernels(const std::string& boot_path,
152152
= module_map.find(internal_ver);
153153
if (mi != module_map.end())
154154
{
155-
std::move(mi->second.begin(), mi->second.end(),
155+
std::copy(mi->second.begin(), mi->second.end(),
156156
std::back_inserter(fset.files()));
157157
}
158158
}

0 commit comments

Comments
 (0)