summaryrefslogtreecommitdiff
path: root/test/other_tools/git_operations/critical_git_ops.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/other_tools/git_operations/critical_git_ops.test.cpp')
-rw-r--r--test/other_tools/git_operations/critical_git_ops.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/other_tools/git_operations/critical_git_ops.test.cpp b/test/other_tools/git_operations/critical_git_ops.test.cpp
index c1494bcf..c15842e7 100644
--- a/test/other_tools/git_operations/critical_git_ops.test.cpp
+++ b/test/other_tools/git_operations/critical_git_ops.test.cpp
@@ -80,7 +80,7 @@ class TestUtilsMP {
: (*repo_path / ".git").string()),
QuoteForShell(repo_path->string()));
if (std::system(cmd.c_str()) == 0) {
- return *repo_path;
+ return repo_path;
}
return std::nullopt;
}