Merge pull request #291 from kianmeng/fix-typos

Fix typos
This commit is contained in:
Pranav 2023-10-20 08:01:59 -05:00 committed by GitHub
commit 694ca7ff34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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") \