mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-26 00:40:05 +01:00
case-insensitivity for SessionPool
This commit is contained in:
@@ -123,15 +123,7 @@ private:
|
||||
TextEncodingManager(const TextEncodingManager&);
|
||||
TextEncodingManager& operator = (const TextEncodingManager&);
|
||||
|
||||
struct ILT
|
||||
{
|
||||
bool operator() (const std::string& s1, const std::string& s2) const
|
||||
{
|
||||
return Poco::icompare(s1, s2) < 0;
|
||||
}
|
||||
};
|
||||
|
||||
typedef std::map<std::string, TextEncoding::Ptr, ILT> EncodingMap;
|
||||
typedef std::map<std::string, TextEncoding::Ptr, CILess> EncodingMap;
|
||||
|
||||
EncodingMap _encodings;
|
||||
mutable RWLock _lock;
|
||||
|
||||
Reference in New Issue
Block a user