Skip to content

Commit 8332d4f

Browse files
committed
Follow Adriano's suggestion
1 parent 41795b1 commit 8332d4f

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

src/jrd/RecordSourceNodes.h

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -717,19 +717,14 @@ class RseNode final : public TypedNode<RecordSourceNode, RecordSourceNode::TYPE_
717717
{
718718
enum : UCHAR // storage is BLR-compatible
719719
{
720-
INNER_JOIN = 0,
721-
LEFT_JOIN = 1,
722-
RIGHT_JOIN = 2,
723-
FULL_JOIN = 3,
724-
SEMI_JOIN = 4,
725-
ANTI_JOIN = 5
720+
INNER_JOIN = blr_inner,
721+
LEFT_JOIN = blr_left,
722+
RIGHT_JOIN = blr_right,
723+
FULL_JOIN = blr_full,
724+
SEMI_JOIN,
725+
ANTI_JOIN
726726
};
727727

728-
static_assert(INNER_JOIN == blr_inner, "join type mismatch");
729-
static_assert(LEFT_JOIN == blr_left, "join type mismatch");
730-
static_assert(RIGHT_JOIN == blr_right, "join type mismatch");
731-
static_assert(FULL_JOIN == blr_full, "join type mismatch");
732-
733728
public:
734729
enum : USHORT
735730
{

0 commit comments

Comments
 (0)