summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_repo.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/file_system/git_repo.hpp')
-rw-r--r--src/buildtool/file_system/git_repo.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/buildtool/file_system/git_repo.hpp b/src/buildtool/file_system/git_repo.hpp
index df100b35..a937dc18 100644
--- a/src/buildtool/file_system/git_repo.hpp
+++ b/src/buildtool/file_system/git_repo.hpp
@@ -380,11 +380,7 @@ class GitRepo {
class GitStrArray final {
public:
- void AddEntry(std::string entry) {
- char* const entry_ptr =
- entries_.emplace_back(std::move(entry)).data();
- entry_pointers_.push_back(entry_ptr);
- }
+ void AddEntry(std::string entry);
[[nodiscard]] auto Get() & noexcept -> git_strarray;
private: