diff options
author | Zeex <zeex@rocketmail.com> | 2018-12-25 11:10:10 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-25 11:10:10 +0600 |
commit | a58f01484b0f054e9325490d92bea03b16fe7eb2 (patch) | |
tree | 983f53a06240b13b9aef9ddbec376784d8b55295 | |
parent | 12732c1d1d9b3b9febed99b5b5e4d625549f3098 (diff) | |
download | subhook-a58f01484b0f054e9325490d92bea03b16fe7eb2.zip subhook-a58f01484b0f054e9325490d92bea03b16fe7eb2.tar.gz subhook-a58f01484b0f054e9325490d92bea03b16fe7eb2.tar.bz2 |
Fix typo in README
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,7 +71,7 @@ void my_foo(int x) { } int main() { - /* Same code as in previous example. */ + /* Same code as in the previous example. */ } ``` @@ -94,7 +94,7 @@ typedef void (*foo_func)(int x); void my_foo(int x) { // ScopedHookRemove removes the specified hook and automatically re-installs - // it when the objectt goes out of scope (thanks to C++ destructors). + // it when the object goes out of scope (thanks to C++ destructors). subhook::ScopedHookRemove remove(&foo_hook); std::cout << "foo(" << x << ") called" << std::endl; |