diff options
| author | 2015-07-29 11:54:07 -0400 | |
|---|---|---|
| committer | 2015-07-29 11:54:07 -0400 | |
| commit | 13ddf60f60a82025694db805333e35a3ed066ca2 (patch) | |
| tree | a3ee60bcacd7264f4cdf5b3aa8241d04f7f0ecd0 | |
| parent | Merge pull request #1009 from lioncash/table (diff) | |
| download | yuzu-13ddf60f60a82025694db805333e35a3ed066ca2.tar.gz yuzu-13ddf60f60a82025694db805333e35a3ed066ca2.tar.xz yuzu-13ddf60f60a82025694db805333e35a3ed066ca2.zip | |
citra-qt: Pass string by const reference
Diffstat (limited to '')
| -rw-r--r-- | src/citra_qt/main.cpp | 2 | ||||
| -rw-r--r-- | src/citra_qt/main.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 34831f2ec..e93e8ebb8 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -207,7 +207,7 @@ void GMainWindow::OnDisplayTitleBars(bool show) | |||
| 207 | } | 207 | } |
| 208 | } | 208 | } |
| 209 | 209 | ||
| 210 | void GMainWindow::BootGame(std::string filename) { | 210 | void GMainWindow::BootGame(const std::string& filename) { |
| 211 | LOG_INFO(Frontend, "Citra starting...\n"); | 211 | LOG_INFO(Frontend, "Citra starting...\n"); |
| 212 | 212 | ||
| 213 | // Initialize the core emulation | 213 | // Initialize the core emulation |
diff --git a/src/citra_qt/main.h b/src/citra_qt/main.h index 242b08c39..9fe9e0c9c 100644 --- a/src/citra_qt/main.h +++ b/src/citra_qt/main.h | |||
| @@ -55,7 +55,7 @@ signals: | |||
| 55 | void EmulationStopping(); | 55 | void EmulationStopping(); |
| 56 | 56 | ||
| 57 | private: | 57 | private: |
| 58 | void BootGame(std::string filename); | 58 | void BootGame(const std::string& filename); |
| 59 | void ShutdownGame(); | 59 | void ShutdownGame(); |
| 60 | 60 | ||
| 61 | void closeEvent(QCloseEvent* event) override; | 61 | void closeEvent(QCloseEvent* event) override; |