Codechange: use smart pointers when creating StringIterators
This commit is contained in:
@@ -67,7 +67,7 @@ struct Textbuf {
|
||||
void DiscardMarkedText(bool update = true);
|
||||
|
||||
private:
|
||||
StringIterator *char_iter;
|
||||
std::unique_ptr<StringIterator> char_iter;
|
||||
|
||||
bool CanDelChar(bool backspace);
|
||||
|
||||
|
Reference in New Issue
Block a user