mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-09-15 15:43:05 -04:00
Fix compiler warnings
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
25 files changed
+62
-70
No files matched your search
@@ -111,7 +111,7 @@ bool Metadata::operator<(BaseVersion& a) const
|
||||
{
|
||||
try {
|
||||
return operator<(dynamic_cast<Metadata&>(a));
|
||||
} catch (const std::bad_cast& e) {
|
||||
} catch (const std::bad_cast&) {
|
||||
return BaseVersion::operator<(a);
|
||||
}
|
||||
}
|
||||
@@ -120,7 +120,7 @@ bool Metadata::operator>(BaseVersion& a) const
|
||||
{
|
||||
try {
|
||||
return operator>(dynamic_cast<Metadata&>(a));
|
||||
} catch (const std::bad_cast& e) {
|
||||
} catch (const std::bad_cast&) {
|
||||
return BaseVersion::operator>(a);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user