From 8767bb89c4c11d710c68f09cb29c528ed7c64b5b Mon Sep 17 00:00:00 2001 From: Christoph Dibak Date: Fri, 20 Sep 2019 15:06:54 +0200 Subject: [PATCH] book: english typo (#79) --- book/en-us/02-usability.md | 2 +- code/2/2.01.nullptr.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/book/en-us/02-usability.md b/book/en-us/02-usability.md index 2c5dc99..95df99c 100644 --- a/book/en-us/02-usability.md +++ b/book/en-us/02-usability.md @@ -61,7 +61,7 @@ int main() { std::cout << "NULL == nullptr" << std::endl; foo(0); // will call foo(int) - // foo(NULL); // doen't compile + // foo(NULL); // doesn't compile foo(nullptr); // will call foo(char*) return 0; } diff --git a/code/2/2.01.nullptr.cpp b/code/2/2.01.nullptr.cpp index 0b59157..8fc1763 100644 --- a/code/2/2.01.nullptr.cpp +++ b/code/2/2.01.nullptr.cpp @@ -22,7 +22,7 @@ int main() { std::cout << "NULL == nullptr" << std::endl; foo(0); // will call foo(int) - // foo(NULL); // doen't compile + // foo(NULL); // doesn't compile foo(nullptr); // will call foo(char*) return 0; }