We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81834e7 + ec8f78b commit 31923aaCopy full SHA for 31923aa
src/libfetchers-tests/git-utils.cc
@@ -30,7 +30,7 @@ class GitUtilsTest : public ::testing::Test
30
// Create the repo with libgit2
31
git_libgit2_init();
32
git_repository * repo = nullptr;
33
- auto r = git_repository_init(&repo, tmpDir.c_str(), 0);
+ auto r = git_repository_init(&repo, tmpDir.string().c_str(), 0);
34
ASSERT_EQ(r, 0);
35
git_repository_free(repo);
36
}
@@ -49,7 +49,7 @@ class GitUtilsTest : public ::testing::Test
49
50
std::string getRepoName() const
51
{
52
- return tmpDir.filename();
+ return tmpDir.filename().string();
53
54
};
55
0 commit comments