summaryrefslogtreecommitdiff
path: root/src/buildtool/main/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r--src/buildtool/main/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp
index 5589b0e0..4b8804d6 100644
--- a/src/buildtool/main/main.cpp
+++ b/src/buildtool/main/main.cpp
@@ -664,7 +664,7 @@ auto ParseRoot(std::string const& repo,
repo);
std::exit(kExitFailure);
}
- auto path = std::filesystem::path{root[1]};
+ auto path = std::filesystem::path{root[1].get<std::string>()};
return {FileRoot{path}, std::move(path)};
}
if (root[0] == FileRoot::kGitTreeMarker) {
@@ -699,7 +699,7 @@ auto ParseRoot(std::string const& repo,
repo);
std::exit(kExitFailure);
}
- auto path = std::filesystem::path{root[1]};
+ auto path = std::filesystem::path{root[1].get<std::string>()};
return {FileRoot{path, /*ignore_special=*/true}, std::move(path)};
}
if (root[0] == FileRoot::kGitTreeIgnoreSpecialMarker) {