[App] Build title using StringBuffer.

This commit is contained in:
gibbed
2021-05-01 17:15:41 -05:00
committed by Rick Gibbed
parent 38c3db1afb
commit 0419a9f13d
6 changed files with 28 additions and 17 deletions

View File

@@ -48,7 +48,7 @@ class Window {
virtual void DisableMainMenu() = 0;
const std::string& title() const { return title_; }
virtual bool set_title(const std::string& title) {
virtual bool set_title(const std::string_view title) {
if (title == title_) {
return false;
}