Skip to content

Commit 31923aa

Browse files
authored
Merge pull request #12572 from DeterminateSystems/fix-mingw-build
Fix mingw build
2 parents 81834e7 + ec8f78b commit 31923aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libfetchers-tests/git-utils.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class GitUtilsTest : public ::testing::Test
3030
// Create the repo with libgit2
3131
git_libgit2_init();
3232
git_repository * repo = nullptr;
33-
auto r = git_repository_init(&repo, tmpDir.c_str(), 0);
33+
auto r = git_repository_init(&repo, tmpDir.string().c_str(), 0);
3434
ASSERT_EQ(r, 0);
3535
git_repository_free(repo);
3636
}
@@ -49,7 +49,7 @@ class GitUtilsTest : public ::testing::Test
4949

5050
std::string getRepoName() const
5151
{
52-
return tmpDir.filename();
52+
return tmpDir.filename().string();
5353
}
5454
};
5555

0 commit comments

Comments
 (0)