Skip to content

Commit 9e555ee

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 95aa003 commit 9e555ee

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/wrapper/repository_wrapper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,4 +657,3 @@ strarray_owned_wrapper repository_wrapper::tag_list_match(std::string pattern)
657657
throw_if_error(git_tag_list_match(tag_names, pattern.c_str(), *this));
658658
return tag_names;
659659
}
660-

src/wrapper/strarray_wrapper.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ size_t strarray_owned_wrapper::size() const
4040

4141
std::string strarray_owned_wrapper::operator[](size_t i) const
4242
{
43-
return { m_array.strings[i] };
43+
return {m_array.strings[i]};
4444
}
4545

4646
strarray_view_wrapper::strarray_view_wrapper(std::vector<std::string> patterns)
@@ -95,5 +95,3 @@ size_t strarray_view_wrapper::size() const
9595
{
9696
return m_patterns.size();
9797
}
98-
99-

src/wrapper/strarray_wrapper.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class strarray_owned_wrapper
3636
// Wrapper of git_strarray containing pointers to strings
3737
// stored in a stnadard container. Does not free them upon
3838
// destruction.
39-
class strarray_view_wrapper
39+
class strarray_view_wrapper
4040
{
4141
public:
4242

0 commit comments

Comments
 (0)