summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/Component.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-06-28 23:18:45 +0200
committerPetr Mrázek <peterix@gmail.com>2018-06-28 23:18:45 +0200
commit7fe94ca7b4aa191b1e79331b16724b7e9cc9f56e (patch)
tree59d922b5c35a70542355ae26f6a2dc442afa5307 /api/logic/minecraft/Component.cpp
parentb5f636b3d57a63f634c4efe5a4ccd9a91f53df04 (diff)
downloadMultiMC-7fe94ca7b4aa191b1e79331b16724b7e9cc9f56e.tar
MultiMC-7fe94ca7b4aa191b1e79331b16724b7e9cc9f56e.tar.gz
MultiMC-7fe94ca7b4aa191b1e79331b16724b7e9cc9f56e.tar.lz
MultiMC-7fe94ca7b4aa191b1e79331b16724b7e9cc9f56e.tar.xz
MultiMC-7fe94ca7b4aa191b1e79331b16724b7e9cc9f56e.zip
NOISSUE fix all sorts of warnings, enable `Werror` and `pedantic`
Diffstat (limited to 'api/logic/minecraft/Component.cpp')
-rw-r--r--api/logic/minecraft/Component.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/minecraft/Component.cpp b/api/logic/minecraft/Component.cpp
index c6e41e65..7c52271e 100644
--- a/api/logic/minecraft/Component.cpp
+++ b/api/logic/minecraft/Component.cpp
@@ -145,7 +145,7 @@ QDateTime Component::getReleaseDateTime()
bool Component::isEnabled()
{
return !canBeDisabled() || !m_disabled;
-};
+}
bool Component::canBeDisabled()
{
@@ -171,7 +171,7 @@ bool Component::setEnabled(bool state)
bool Component::isCustom()
{
return m_file != nullptr;
-};
+}
bool Component::isCustomizable()
{