Commit 86f9190 1 parent 9e96d96 commit 86f9190 Copy full SHA for 86f9190
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,6 @@ namespace vx::string_utils {
246
246
size = std::strnlen ( reinterpret_cast <const char *>( _uchr ), string.size () ); // NOSONAR do not use reinterpret_cast
247
247
#endif
248
248
}
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
250
250
}
251
251
}
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ namespace vx {
108
108
109
109
m_queue.push ( item );
110
110
111
- /* unlock before notificiation to minimize mutex context */
111
+ /* unlock before notification to minimize mutex context */
112
112
lock.unlock ();
113
113
114
114
/* notify one waiting thread */
@@ -125,7 +125,7 @@ namespace vx {
125
125
126
126
m_queue.push ( std::move ( item ) );
127
127
128
- /* unlock before notificiation to minimize mutex context */
128
+ /* unlock before notification to minimize mutex context */
129
129
lock.unlock ();
130
130
131
131
/* notify one waiting thread */
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ namespace vx {
85
85
EXPECT_EQ ( initializer.width (), 10 );
86
86
EXPECT_EQ ( initializer.height (), 10 );
87
87
88
- /* comparision */
88
+ /* comparison */
89
89
EXPECT_TRUE ( rect == rect3 );
90
90
EXPECT_FALSE ( rect == rect2 );
91
91
EXPECT_FALSE ( rect == rectNull );
@@ -162,7 +162,7 @@ namespace vx {
162
162
EXPECT_EQ ( initializer.width (), 10 .4F );
163
163
EXPECT_EQ ( initializer.height (), 10 .4F );
164
164
165
- /* comparision */
165
+ /* comparison */
166
166
EXPECT_TRUE ( rect == rect3 );
167
167
EXPECT_FALSE ( rect == rect2 );
168
168
EXPECT_FALSE ( rect == rectNull );
@@ -239,7 +239,7 @@ namespace vx {
239
239
EXPECT_EQ ( initializer.width (), 10.5 );
240
240
EXPECT_EQ ( initializer.height (), 10.5 );
241
241
242
- /* comparision */
242
+ /* comparison */
243
243
EXPECT_TRUE ( rect == rect3 );
244
244
EXPECT_FALSE ( rect == rect2 );
245
245
EXPECT_FALSE ( rect == rectNull );
You can’t perform that action at this time.
0 commit comments