2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #1010 from lioncash/ref

citra-qt: Pass string by const reference
This commit is contained in:
bunnei 2015-07-29 12:16:56 -04:00
commit aee575b24d
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ void GMainWindow::OnDisplayTitleBars(bool show)
} }
} }
void GMainWindow::BootGame(std::string filename) { void GMainWindow::BootGame(const std::string& filename) {
LOG_INFO(Frontend, "Citra starting...\n"); LOG_INFO(Frontend, "Citra starting...\n");
// Initialize the core emulation // Initialize the core emulation

View file

@ -55,7 +55,7 @@ signals:
void EmulationStopping(); void EmulationStopping();
private: private:
void BootGame(std::string filename); void BootGame(const std::string& filename);
void ShutdownGame(); void ShutdownGame();
void closeEvent(QCloseEvent* event) override; void closeEvent(QCloseEvent* event) override;