Fix typos

Found via `codespell -L seh`
This commit is contained in:
Kian-Meng Ang 2023-10-19 13:09:11 +08:00
parent b0930ab028
commit aa25a2f3ac
2 changed files with 2 additions and 2 deletions

View File

@ -1324,7 +1324,7 @@ public:
} }
/* Indexing operator. Return a reference to an Argument object /* Indexing operator. Return a reference to an Argument object
* Used in conjuction with Argument.operator== e.g., parser["foo"] == true * Used in conjunction with Argument.operator== e.g., parser["foo"] == true
* @throws std::logic_error in case of an invalid argument name * @throws std::logic_error in case of an invalid argument name
*/ */
Argument &operator[](std::string_view arg_name) const { Argument &operator[](std::string_view arg_name) const {

View File

@ -146,7 +146,7 @@
// ================================================================================================= // =================================================================================================
// both the header and the implementation suppress all of these, // both the header and the implementation suppress all of these,
// so it only makes sense to aggregrate them like so // so it only makes sense to aggregate them like so
#define DOCTEST_SUPPRESS_COMMON_WARNINGS_PUSH \ #define DOCTEST_SUPPRESS_COMMON_WARNINGS_PUSH \
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH \ DOCTEST_CLANG_SUPPRESS_WARNING_PUSH \
DOCTEST_CLANG_SUPPRESS_WARNING("-Wunknown-pragmas") \ DOCTEST_CLANG_SUPPRESS_WARNING("-Wunknown-pragmas") \