Skip to content

Commit 7710868

Browse files
authored
Merge pull request #718 from seratch/fix-typo
Fix misspelled words in comments
2 parents 43c643b + 0b53833 commit 7710868

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## << breaking changes >>
99

10-
* Change offset parameter updating rule. If parse error is happend, offset is updated to the error position. (#639, #666)
10+
* Change offset parameter updating rule. If parse error happens, offset is updated to the error position. (#639, #666)
1111

1212
## << other updates >>
1313

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ TYPEDEF_HIDES_STRUCT = NO
281281
# causing a significant performance penality.
282282
# If the system has enough physical memory increasing the cache will improve the
283283
# performance by keeping more symbols in memory. Note that the value works on
284-
# a logarithmic scale so increasing the size by one will rougly double the
284+
# a logarithmic scale so increasing the size by one will roughly double the
285285
# memory usage. The cache size is given by this formula:
286286
# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
287287
# corresponding to a cache size of 2^16 = 65536 symbols

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ the binaries:' text box.
170170

171171
### Documentation
172172

173-
You can get addtional information on the
173+
You can get additional information on the
174174
[wiki](https://github.com/msgpack/msgpack-c/wiki).
175175

176176
Contributing

include/msgpack/v2/parse_decl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class parser;
3939
* @param off The offset position of the buffer. It is read and overwritten.
4040
* @param v The visitor that satisfies visitor concept. https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_visitor#visitor-concept
4141
*
42-
* @return if unpacking process finishs without error then return true, otherwise return false.
42+
* @return if unpacking process finishes without error then return true, otherwise return false.
4343
*
4444
*/
4545
template <typename Visitor>
@@ -52,7 +52,7 @@ bool parse(const char* data, size_t len, size_t& off, Visitor& v);
5252
* @param len The length of the buffer.
5353
* @param v The visitor that satisfies visitor concept. https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_visitor#visitor-concept
5454
*
55-
* @return if unpacking process finishs without error then return true, otherwise return false.
55+
* @return if unpacking process finishes without error then return true, otherwise return false.
5656
*
5757
*/
5858
template <typename Visitor>

test/boost_variant.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ TEST(MSGPACK_BOOST, object_with_zone_variant_str_ref)
329329
EXPECT_EQ(val1.as_boost_string_ref(), "ABC");
330330
msgpack::object obj(val1, z);
331331
msgpack::type::variant val2 = obj.as<msgpack::type::variant>();
332-
// Coverted as std::string.
332+
// Converted as std::string.
333333
EXPECT_TRUE(val2.is_string());
334334
EXPECT_EQ(val2.as_string(), "ABC");
335335
EXPECT_NO_THROW(boost::get<std::string>(val2));
@@ -399,7 +399,7 @@ TEST(MSGPACK_BOOST, object_with_zone_variant_raw_ref)
399399
EXPECT_EQ(val1.as_raw_ref(), msgpack::type::raw_ref(&v.front(), v.size()));
400400
msgpack::object obj(val1, z);
401401
msgpack::type::variant val2 = obj.as<msgpack::type::variant>();
402-
// Coverted as std::vector<char>.
402+
// Converted as std::vector<char>.
403403
EXPECT_TRUE(val2.is_vector_char());
404404
EXPECT_EQ(val2.as_vector_char(), v);
405405
EXPECT_NO_THROW(boost::get<std::vector<char> >(val2));
@@ -469,7 +469,7 @@ TEST(MSGPACK_BOOST, object_with_zone_variant_ext_ref)
469469
EXPECT_EQ(val1.as_ext_ref(), e);
470470
msgpack::object obj(val1, z);
471471
msgpack::type::variant val2 = obj.as<msgpack::type::variant>();
472-
// Coverted as msgpack::type::ext.
472+
// Converted as msgpack::type::ext.
473473
EXPECT_TRUE(val2.is_ext());
474474
EXPECT_EQ(val2.as_ext(), e);
475475
EXPECT_NO_THROW(boost::get<msgpack::type::ext>(val2));

0 commit comments

Comments
 (0)