Use std::string::operator+() instead of string_compose template in Route class
Using string_compose in this instance doesn't seem necessary, is worse in terms of readability and is no doubt slower.
This commit is contained in:
parent
4367b51e56
commit
af1f4b933b
@ -4090,7 +4090,7 @@ Route::set_name_in_state (XMLNode& node, string const & name, bool rename_playli
|
||||
} else if ((*i)->name() == X_("Diskstream")) {
|
||||
|
||||
if (rename_playlist) {
|
||||
(*i)->set_property (X_("playlist"), string_compose ("%1.1", name).c_str());
|
||||
(*i)->set_property (X_("playlist"), name + ".1");
|
||||
}
|
||||
(*i)->set_property (X_("name"), name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user