diff --git a/src/json.hpp b/src/json.hpp index 8342b0e1..90bd097f 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -8895,7 +8895,7 @@ basic_json_parser_63: : callback(cb), m_lexer(is) {} - /// a parser reading from a container with continguous storage + /// a parser reading from a container with contiguous storage template ::iterator_category, std::random_access_iterator_tag>::value diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 7ff4e1fa..8a9a6c1f 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -8192,7 +8192,7 @@ class basic_json : callback(cb), m_lexer(is) {} - /// a parser reading from a container with continguous storage + /// a parser reading from a container with contiguous storage template ::iterator_category, std::random_access_iterator_tag>::value diff --git a/test/src/unit-class_parser.cpp b/test/src/unit-class_parser.cpp index 1a4b0a7c..863cec52 100644 --- a/test/src/unit-class_parser.cpp +++ b/test/src/unit-class_parser.cpp @@ -745,7 +745,7 @@ TEST_CASE("parser class") } } - SECTION("constructing from continguous containers") + SECTION("constructing from contiguous containers") { SECTION("from std::vector") {