mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
fix warning
This commit is contained in:
parent
b04dea6002
commit
20cefe452a
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ namespace sprout {
|
||||||
OutputCStrIterator result = s1;
|
OutputCStrIterator result = s1;
|
||||||
while (*s1++)
|
while (*s1++)
|
||||||
;
|
;
|
||||||
while (*s1++ = *s2++)
|
while ((*s1++ = *s2++))
|
||||||
;
|
;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace sprout {
|
||||||
inline SPROUT_CXX14_CONSTEXPR OutputCStrIterator
|
inline SPROUT_CXX14_CONSTEXPR OutputCStrIterator
|
||||||
strcpy(OutputCStrIterator s1, CStrIterator s2) {
|
strcpy(OutputCStrIterator s1, CStrIterator s2) {
|
||||||
OutputCStrIterator result = s1;
|
OutputCStrIterator result = s1;
|
||||||
while (*s1++ = *s2++)
|
while ((*s1++ = *s2++))
|
||||||
;
|
;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue