mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
fix ContentPack enums formatting
This commit is contained in:
parent
f44747587f
commit
53e1528d5c
6 changed files with 25 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue