diff options
author | TheLastRar <TheLastRar@users.noreply.github.com> | 2022-11-13 02:10:45 +0000 |
---|---|---|
committer | TheLastRar <TheLastRar@users.noreply.github.com> | 2022-11-14 19:05:57 +0000 |
commit | ac993aa31fcab79473f62c2d958b91e921b6930e (patch) | |
tree | df5808effeca2a818c56f794276dd610e5a5ca9f | |
parent | fce323b945d5e8365c64c61e3ba592cb2b7446c4 (diff) | |
download | PrismLauncher-ac993aa31fcab79473f62c2d958b91e921b6930e.tar.gz PrismLauncher-ac993aa31fcab79473f62c2d958b91e921b6930e.tar.bz2 PrismLauncher-ac993aa31fcab79473f62c2d958b91e921b6930e.zip |
Use Q_UNUSED instead of [[maybe_unused]] in onParseFailed
Qt5 on Ubuntu cannot handle [[maybe_unused]] in this function
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
-rw-r--r-- | launcher/minecraft/mod/ResourceFolderModel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/ResourceFolderModel.h b/launcher/minecraft/mod/ResourceFolderModel.h index 74a1b62d..fe283b04 100644 --- a/launcher/minecraft/mod/ResourceFolderModel.h +++ b/launcher/minecraft/mod/ResourceFolderModel.h @@ -176,7 +176,7 @@ class ResourceFolderModel : public QAbstractListModel { * if the resource is complex and has more stuff to parse. */ virtual void onParseSucceeded(int ticket, QString resource_id); - virtual void onParseFailed([[maybe_unused]] int ticket, [[maybe_unused]] QString resource_id) {} + virtual void onParseFailed(int ticket, QString resource_id) { Q_UNUSED(ticket); Q_UNUSED(resource_id); } protected: // Represents the relationship between a column's index (represented by the list index), and it's sorting key. |