aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 87ac80a..23e1620 100644
--- a/README.md
+++ b/README.md
@@ -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;