summaryrefslogtreecommitdiffstats
path: root/libraries/classparser/src/classparser.cpp
diff options
context:
space:
mode:
authorCharles Milette <me@charlesmilette.net>2018-05-19 19:18:26 -0400
committerCharles Milette <me@charlesmilette.net>2018-05-19 19:18:26 -0400
commit72c0002b45215466e06cd901fe95d9493d659ab2 (patch)
tree03a56f2da0f1ed34a219941060ec2100aedf1ac6 /libraries/classparser/src/classparser.cpp
parentb9fd381eee2f7c87e7645046b26dd552dc3cae5c (diff)
downloadMultiMC-72c0002b45215466e06cd901fe95d9493d659ab2.tar
MultiMC-72c0002b45215466e06cd901fe95d9493d659ab2.tar.gz
MultiMC-72c0002b45215466e06cd901fe95d9493d659ab2.tar.lz
MultiMC-72c0002b45215466e06cd901fe95d9493d659ab2.tar.xz
MultiMC-72c0002b45215466e06cd901fe95d9493d659ab2.zip
Catch C++ exceptions by const reference
Fixes #2277
Diffstat (limited to 'libraries/classparser/src/classparser.cpp')
-rw-r--r--libraries/classparser/src/classparser.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/classparser/src/classparser.cpp b/libraries/classparser/src/classparser.cpp
index 8837781f..bf5cc039 100644
--- a/libraries/classparser/src/classparser.cpp
+++ b/libraries/classparser/src/classparser.cpp
@@ -70,9 +70,7 @@ QString GetMinecraftJarVersion(QString jarName)
}
}
}
- catch (java::classfile_exception &)
- {
- }
+ catch (java::classfile_exception) { }
// clean up
delete[] classfile;