fix ContentPack enums formatting

This commit is contained in:
MihailRis
2025-09-14 12:59:09 +03:00
parent f44747587f
commit 53e1528d5c
6 changed files with 25 additions and 25 deletions
+5 -5
View File
@@ -37,15 +37,15 @@ public:
auto dep_op = Version::string_to_operator(op);
switch (dep_op) {
case DependencyVersionOperator::equal:
case DependencyVersionOperator::EQUAL:
return *this == other;
case DependencyVersionOperator::more:
case DependencyVersionOperator::GREATHER:
return *this > other;
case DependencyVersionOperator::less:
case DependencyVersionOperator::LESS:
return *this < other;
case DependencyVersionOperator::less_or_equal:
case DependencyVersionOperator::LESS_OR_EQUAL:
return *this <= other;
case DependencyVersionOperator::more_or_equal:
case DependencyVersionOperator::GREATHER_OR_EQUAL:
return *this >= other;
default:
return false;