mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-23 18:42:17 +01:00
fixed GH #1425: Workaround bug in SolarisStudio 12.4 on RVO-ed objects.
This commit is contained in:
parent
18a70a4b3a
commit
f4530b0ebc
@ -666,7 +666,7 @@ struct i_char_traits : public std::char_traits<charT>
|
|||||||
return Ascii::toLower(c1) < Ascii::toLower(c2);
|
return Ascii::toLower(c1) < Ascii::toLower(c2);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int compare(const charT* s1, const charT* s2, size_t n)
|
static int compare(const charT* s1, const charT* s2, std::size_t n)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < n && s1 && s2; ++i, ++s1, ++s2)
|
for (int i = 0; i < n && s1 && s2; ++i, ++s1, ++s2)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user