patterns: Fixed enums not counting properly

This commit is contained in:
WerWolv
2021-09-11 23:14:22 +02:00
parent 3d15a108af
commit 635f0606e0
4 changed files with 7 additions and 7 deletions

View File

@@ -11,9 +11,6 @@
namespace hex::plugin::builtin {
#define LITERAL_COMPARE(literal, cond) std::visit([&](auto &&literal) { return (cond) != 0; }, literal)
#define AS_TYPE(type, value) ctx.template asType<type>(value)
void registerPatternLanguageFunctions() {
using namespace hex::pl;