PIString remove operator char*

This commit is contained in:
2020-09-15 11:24:13 +03:00
parent e10ff53547
commit 78731bd971
2 changed files with 4 additions and 17 deletions

View File

@@ -94,19 +94,6 @@ public:
PIString & operator =(PIString && o) {swap(o); return *this;}
/*! \brief Return c-string representation of string
* \details Converts content of string to c-string and return
* pointer to first char. This buffer is valid until new convertion
* or execution \a data() or \a toByteArray().\n
* Example: \snippet pistring.cpp PIString::char* */
operator const char*() {return data();}
//! Return symbol at index "pos"
PIChar operator [](const int pos) const {return at(pos);}
//! Return reference to symbol at index "pos"
PIChar & operator [](const int pos) {return PIDeque<PIChar>::operator[](pos);}
//! Compare operator
bool operator ==(const PIString & str) const;