mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-14 23:07:56 +02:00
synchronized trunk
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// String.h
|
||||
//
|
||||
// $Id: //poco/Main/Foundation/include/Poco/String.h#7 $
|
||||
// $Id: //poco/Main/Foundation/include/Poco/String.h#8 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Core
|
||||
@@ -202,8 +202,8 @@ int icompare(
|
||||
It end1 = str.begin() + pos + n;
|
||||
while (it1 != end1 && it2 != end2)
|
||||
{
|
||||
typename S::value_type c1 = std::tolower(*it1);
|
||||
typename S::value_type c2 = std::tolower(*it2);
|
||||
typename S::value_type c1(std::tolower(*it1));
|
||||
typename S::value_type c2(std::tolower(*it2));
|
||||
if (c1 < c2)
|
||||
return -1;
|
||||
else if (c1 > c2)
|
||||
@@ -294,8 +294,8 @@ int icompare(
|
||||
typename S::const_iterator end = str.begin() + pos + n;
|
||||
while (it != end && *ptr)
|
||||
{
|
||||
typename S::value_type c1 = std::tolower(*it);
|
||||
typename S::value_type c2 = std::tolower(*ptr);
|
||||
typename S::value_type c1(std::tolower(*it));
|
||||
typename S::value_type c2(std::tolower(*ptr));
|
||||
if (c1 < c2)
|
||||
return -1;
|
||||
else if (c1 > c2)
|
||||
|
Reference in New Issue
Block a user