aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2019-10-06 14:39:57 -0700
committerGitHub <noreply@github.com>2019-10-06 14:39:57 -0700
commit02d1051fddbb9a1d43b61c2970ec383a65ca58f4 (patch)
treefa9330268b1334f046b7674ba9986aa8bde16a50
parent10ce5b634f40d1a51c7ab92c362c77d4438c1d51 (diff)
parent275e0176c0b127866a33b25f9d60d77ee534b95f (diff)
downloadplatform_external_Microsoft-GSL-02d1051fddbb9a1d43b61c2970ec383a65ca58f4.tar.gz
platform_external_Microsoft-GSL-02d1051fddbb9a1d43b61c2970ec383a65ca58f4.tar.bz2
platform_external_Microsoft-GSL-02d1051fddbb9a1d43b61c2970ec383a65ca58f4.zip
Merge pull request #814 from sizmailov/fix_typos
Fix typos in gsl/pointers
-rw-r--r--include/gsl/pointers8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/gsl/pointers b/include/gsl/pointers
index 0f2987a..7373826 100644
--- a/include/gsl/pointers
+++ b/include/gsl/pointers
@@ -197,7 +197,7 @@ namespace gsl
//
// Restricts a pointer or smart pointer to only hold non-null values,
//
-// - provides a strict (i.e. explicit contructor from T) wrapper of not_null
+// - provides a strict (i.e. explicit constructor from T) wrapper of not_null
// - to be used for new code that wishes the design to be cleaner and make not_null
// checks intentional, or in old code that would like to make the transition.
//
@@ -205,9 +205,9 @@ namespace gsl
// by strict_not_null and fix compilation errors
//
// Expect to
-// - remove all unneded conversions from raw pointer to not_null and back
-// - make API clear by specifyning not_null in parameters where needed
-// - remove unnesessary asserts
+// - remove all unneeded conversions from raw pointer to not_null and back
+// - make API clear by specifying not_null in parameters where needed
+// - remove unnecessary asserts
//
template <class T>
class strict_not_null: public not_null<T>