remove at(index) reference function

remove chrUpr and chrLwr from PIString
This commit is contained in:
2020-09-10 12:37:33 +03:00
parent b11ebc8100
commit 05b48af153
6 changed files with 4 additions and 28 deletions

View File

@@ -77,7 +77,7 @@ public:
//! \brief Trim all strings
//! \details Example: \snippet pistring.cpp PIStringList::trim
PIStringList & trim() {for (uint i = 0; i < size(); ++i) at(i).trim(); return *this;}
PIStringList & trim() {for (uint i = 0; i < size(); ++i) (*this)[i].trim(); return *this;}
//! Return sum of lengths of all strings
uint contentSize() {uint s = 0; for (uint i = 0; i < size(); ++i) s += at(i).size(); return s;}