Skip to content

Commit

Permalink
Merge pull request #12572 from DeterminateSystems/fix-mingw-build
Browse files Browse the repository at this point in the history
Fix mingw build
  • Loading branch information
edolstra authored Feb 26, 2025
2 parents 81834e7 + ec8f78b commit 31923aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libfetchers-tests/git-utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class GitUtilsTest : public ::testing::Test
// Create the repo with libgit2
git_libgit2_init();
git_repository * repo = nullptr;
auto r = git_repository_init(&repo, tmpDir.c_str(), 0);
auto r = git_repository_init(&repo, tmpDir.string().c_str(), 0);
ASSERT_EQ(r, 0);
git_repository_free(repo);
}
Expand All @@ -49,7 +49,7 @@ class GitUtilsTest : public ::testing::Test

std::string getRepoName() const
{
return tmpDir.filename();
return tmpDir.filename().string();
}
};

Expand Down

0 comments on commit 31923aa

Please sign in to comment.