From 9b818ca4f849ac7a0d6f8711569defd7e92487b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffan=20S=C3=B8lvsten?= Date: Fri, 24 May 2024 09:46:54 +0200 Subject: [PATCH] Fix enum values break on certain instances (closes #29) This is technically a breaking change, but I'm not going to bump the version number because of it... --- src/calObj.hh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/calObj.hh b/src/calObj.hh index 8306148..96024ed 100644 --- a/src/calObj.hh +++ b/src/calObj.hh @@ -270,13 +270,13 @@ public: ////////////////////////////////////////////////////////////////////////////// enum Type_t { - NONTERMINAL = CAL_BDD_TYPE_NONTERMINAL, - ZERO = CAL_BDD_TYPE_ZERO, - ONE = CAL_BDD_TYPE_ONE, - POSVAR = CAL_BDD_TYPE_POSVAR, - NEGVAR = CAL_BDD_TYPE_NEGVAR, - OVERFLOW = CAL_BDD_TYPE_OVERFLOW, - CONSTANT = CAL_BDD_TYPE_CONSTANT + NonTerminal = CAL_BDD_TYPE_NONTERMINAL, + Zero = CAL_BDD_TYPE_ZERO, + One = CAL_BDD_TYPE_ONE, + Posvar = CAL_BDD_TYPE_POSVAR, + Negvar = CAL_BDD_TYPE_NEGVAR, + Overflow = CAL_BDD_TYPE_OVERFLOW, + Constant = CAL_BDD_TYPE_CONSTANT }; ////////////////////////////////////////////////////////////////////////////// @@ -873,9 +873,9 @@ public: /// \see Cal::DynamicReordering, Cal::ReorderMethod ////////////////////////////////////////////////////////////////////////////// enum ReorderTechnique { - NONE = CAL_REORDER_NONE, - SIFT = CAL_REORDER_SIFT, - WINDOW = CAL_REORDER_WINDOW + None = CAL_REORDER_NONE, + Sift = CAL_REORDER_SIFT, + Window = CAL_REORDER_WINDOW }; //////////////////////////////////////////////////////////////////////////////