Revert "[Quest API] Cleanup string copies and push_backs. (#2807)"

This reverts commit bcc2e022dc.
This commit is contained in:
Akkadius
2023-01-31 20:30:34 -06:00
parent f727c9f75a
commit 54050924d8
21 changed files with 397 additions and 372 deletions
+3 -3
View File
@@ -65,12 +65,12 @@ void ZoneLaunch::Start() {
if(m_port) {
std::string arg = m_zone + std::string(":") + std::to_string(m_port);
spec->args.emplace_back(arg);
spec->args.push_back(arg);
} else {
spec->args.emplace_back(m_zone);
spec->args.push_back(m_zone);
}
spec->args.emplace_back(m_launcherName);
spec->args.push_back(m_launcherName);
spec->handler = this;
spec->logFile = m_config->LogPrefix + m_zone + m_config->LogSuffix;