From b01f4992850d896bc34e808d1a1ec7cf92aa3173 Mon Sep 17 00:00:00 2001 From: Pascal Cadotte Michaud Date: Fri, 18 Sep 2015 20:31:30 -0400 Subject: [PATCH] Fix two typos in the precondition section --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 4c5d4bd..216ec7b 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -1076,8 +1076,8 @@ Ideally, that `Expects(x>=0)` should be part of the interface of `sqrt()` but th `// the sequence [p:q) is ordered using <` **Note**: Most member functions have as a precondition that some class invariant holds. -That invariant is established by a constructor and must be reestablished upon exit by evenry member function called from outside the class. -We don't need to mentioning it for each member function. +That invariant is established by a constructor and must be reestablished upon exit by every member function called from outside the class. +We don't need to mention it for each member function. **Enforcement**: (Not enforceable)