Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 7c06968

Browse files
authored
Update README.md
1 parent a4529b3 commit 7c06968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ To properly cleanup memory that is owned by the user, use the `ownership` enum t
700700
cppgit2::tree tree1(&tree_cptr, ownership::user);
701701
```
702702

703-
If the pointer being wrapped is owned by the user, the object's destructor will call `git_<type>_free` on the pointer and clean up properly. If you specify the ownership as `ownership::libgit2`, the pointer is left alone.
703+
If the pointer being wrapped is owned by the user, the class destructor will call `git_<type>_free` on the pointer and clean up properly. If you specify the ownership as `ownership::libgit2`, the pointer is left alone.
704704

705705
```cpp
706706
tree::tree(git_tree *c_ptr, ownership owner = ownership::libgit2)

0 commit comments

Comments
 (0)