| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| } | ||
| }(); | ||
|
|
||
| using resource_type = typename W::resoure_type; |
There was a problem hiding this comment.
There is a missing "c" in the second "resource_type"
Sorry, something went wrong.
There was a problem hiding this comment.
Approved, assuming the change proposed by Sandrine is included.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
@SandrineP This will allow you to call peel with the return type that you want. For instance, if you have a reference_wrapper and you want to get the peeled commit from it and store it in a std::vector<commit_wrapper>:
std::vector<commit_wrapper> commit_list = { // ... }; auto head_ref = repo.head(); commit_list[0] = head_ref.peel<git_commit>();