[ATL] Overload const-return-versions of FindChar/FindString/FindOneOf (#5473)

Overload the const-return-versions of FindChar/FindCharReverse/FindString/FindOneOf.
Modify CStringT::Replace.
This commit is contained in:
Katayama Hirofumi MZ 2023-07-30 07:59:01 +09:00 committed by GitHub
parent 2010a5b8d9
commit 985680068c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 53 additions and 1 deletions

View file

@ -358,6 +358,10 @@ public:
return GetData()->nDataLength;
}
PXSTR GetString() throw()
{
return m_pszData;
}
PCXSTR GetString() const throw()
{
return m_pszData;