diff options
| author | 2018-10-15 21:33:14 -0400 | |
|---|---|---|
| committer | 2018-10-15 21:33:14 -0400 | |
| commit | 870c18b0786296f30e79c21ad7213e90109eb299 (patch) | |
| tree | 294c4efa1231c624ce8946f96131ca5623887d20 | |
| parent | Merge pull request #1504 from lioncash/constant (diff) | |
| parent | yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscor... (diff) | |
| download | yuzu-870c18b0786296f30e79c21ad7213e90109eb299.tar.gz yuzu-870c18b0786296f30e79c21ad7213e90109eb299.tar.xz yuzu-870c18b0786296f30e79c21ad7213e90109eb299.zip | |
Merge pull request #1487 from lioncash/maybe-unused
yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled
| -rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index d1a068e68..bef9df00d 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -1567,7 +1567,7 @@ void GMainWindow::UpdateUITheme() { | |||
| 1567 | emit UpdateThemedIcons(); | 1567 | emit UpdateThemedIcons(); |
| 1568 | } | 1568 | } |
| 1569 | 1569 | ||
| 1570 | void GMainWindow::SetDiscordEnabled(bool state) { | 1570 | void GMainWindow::SetDiscordEnabled([[maybe_unused]] bool state) { |
| 1571 | #ifdef USE_DISCORD_PRESENCE | 1571 | #ifdef USE_DISCORD_PRESENCE |
| 1572 | if (state) { | 1572 | if (state) { |
| 1573 | discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>(); | 1573 | discord_rpc = std::make_unique<DiscordRPC::DiscordImpl>(); |