Skip to content

Commit 50be2b6

Browse files
authored
Update irr/include/irrString.h
1 parent 0e5b3ec commit 50be2b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

irr/include/irrString.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ class string
179179
(uintptr_t)c < (uintptr_t)(str.data() + str.size()));
180180
}
181181

182-
if ((void *)c == (void *)c_str()) return *this;
182+
if ((void *)c == (void *)c_str())
183+
return *this;
183184

184185
u32 len = calclen(c);
185186
// In case `c` is a pointer to our own buffer, we may not resize first

0 commit comments

Comments
 (0)