summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/traverser/traverser.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/execution_engine/traverser/traverser.test.cpp')
-rw-r--r--test/buildtool/execution_engine/traverser/traverser.test.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/buildtool/execution_engine/traverser/traverser.test.cpp b/test/buildtool/execution_engine/traverser/traverser.test.cpp
index 2354aaf1..150f3d8c 100644
--- a/test/buildtool/execution_engine/traverser/traverser.test.cpp
+++ b/test/buildtool/execution_engine/traverser/traverser.test.cpp
@@ -167,10 +167,9 @@ class TestProject {
command.emplace_back("BUILD");
for (auto const& output : outputs) {
command.push_back(output);
- auto const out_id = ArtifactDescription{
- action_id,
- std::filesystem::path{
- output}}.Id();
+ auto const out_id = ArtifactDescription::CreateAction(
+ action_id, std::filesystem::path{output})
+ .Id();
auto [_, is_inserted] = artifacts_to_be_built_.insert(out_id);
if (!is_inserted) {
return false;