Skip to content

Commit 86f9190

Browse files
committed
Fix even more typos
1 parent 9e96d96 commit 86f9190

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

source/StringUtils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,6 @@ namespace vx::string_utils {
246246
size = std::strnlen( reinterpret_cast<const char *>( _uchr ), string.size() ); // NOSONAR do not use reinterpret_cast
247247
#endif
248248
}
249-
return std::make_optional<std::string>( _uchr, _uchr + size ); // NOSONAR do not use pointer arithmetric
249+
return std::make_optional<std::string>( _uchr, _uchr + size ); // NOSONAR do not use pointer arithmetic
250250
}
251251
}

source/templates/SharedQueue.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ namespace vx {
108108

109109
m_queue.push( item );
110110

111-
/* unlock before notificiation to minimize mutex context */
111+
/* unlock before notification to minimize mutex context */
112112
lock.unlock();
113113

114114
/* notify one waiting thread */
@@ -125,7 +125,7 @@ namespace vx {
125125

126126
m_queue.push( std::move( item ) );
127127

128-
/* unlock before notificiation to minimize mutex context */
128+
/* unlock before notification to minimize mutex context */
129129
lock.unlock();
130130

131131
/* notify one waiting thread */

tests/test_rect.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ namespace vx {
8585
EXPECT_EQ( initializer.width(), 10 );
8686
EXPECT_EQ( initializer.height(), 10 );
8787

88-
/* comparision */
88+
/* comparison */
8989
EXPECT_TRUE( rect == rect3 );
9090
EXPECT_FALSE( rect == rect2 );
9191
EXPECT_FALSE( rect == rectNull );
@@ -162,7 +162,7 @@ namespace vx {
162162
EXPECT_EQ( initializer.width(), 10.4F );
163163
EXPECT_EQ( initializer.height(), 10.4F );
164164

165-
/* comparision */
165+
/* comparison */
166166
EXPECT_TRUE( rect == rect3 );
167167
EXPECT_FALSE( rect == rect2 );
168168
EXPECT_FALSE( rect == rectNull );
@@ -239,7 +239,7 @@ namespace vx {
239239
EXPECT_EQ( initializer.width(), 10.5 );
240240
EXPECT_EQ( initializer.height(), 10.5 );
241241

242-
/* comparision */
242+
/* comparison */
243243
EXPECT_TRUE( rect == rect3 );
244244
EXPECT_FALSE( rect == rect2 );
245245
EXPECT_FALSE( rect == rectNull );

0 commit comments

Comments
 (0)