diff options
author | TheLastRar <TheLastRar@users.noreply.github.com> | 2022-11-09 21:15:35 +0000 |
---|---|---|
committer | TheLastRar <TheLastRar@users.noreply.github.com> | 2022-11-14 19:05:56 +0000 |
commit | b8d7aedb2ca38a64e84aad4955044c778ca4163d (patch) | |
tree | 26309b0714c28c9d1dc62ca59df989034209403d /launcher/BaseInstance.h | |
parent | 55c7b291e1dc5ef903dfbbea18d3f48fd968df38 (diff) | |
download | PrismLauncher-b8d7aedb2ca38a64e84aad4955044c778ca4163d.tar.gz PrismLauncher-b8d7aedb2ca38a64e84aad4955044c778ca4163d.tar.bz2 PrismLauncher-b8d7aedb2ca38a64e84aad4955044c778ca4163d.zip |
Mark paramater line as unused in guessLevel()
The base method doesn't use this variable, but classes overriding this method do
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
Diffstat (limited to 'launcher/BaseInstance.h')
-rw-r--r-- | launcher/BaseInstance.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/BaseInstance.h b/launcher/BaseInstance.h index 307240e0..a2a4f824 100644 --- a/launcher/BaseInstance.h +++ b/launcher/BaseInstance.h @@ -151,7 +151,7 @@ public: void copyManagedPack(BaseInstance& other); /// guess log level from a line of game log - virtual MessageLevel::Enum guessLevel(const QString &line, MessageLevel::Enum level) + virtual MessageLevel::Enum guessLevel([[maybe_unused]] const QString &line, MessageLevel::Enum level) { return level; }; |