Codechange: replace C-style strings with C++-style strings in textfile (#10772)

This commit is contained in:
Patric Stout
2023-05-09 21:35:50 +02:00
committed by GitHub
parent 90529ea48b
commit febe394806
7 changed files with 63 additions and 53 deletions

View File

@@ -261,9 +261,9 @@ public:
/**
* Get the next string to search through.
* @return The next string or nullptr if there is none.
* @return The next string or nullopt if there is none.
*/
virtual const char *NextString() = 0;
virtual std::optional<std::string_view> NextString() = 0;
/**
* Get the default (font) size of the string.