From 99f1804c62fa78a9480d5c28829f4ff377951a4c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Feb 2020 11:24:52 +0100 Subject: [PATCH] Val: remove the unnecessary BroValUnion typedef --- src/Val.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Val.h b/src/Val.h index 79172c3f55..38b87bdfb4 100644 --- a/src/Val.h +++ b/src/Val.h @@ -61,7 +61,7 @@ class TableEntryVal; class RE_Matcher; -typedef union { +union BroValUnion { // Used for bool, int, enum. bro_int_t int_val; @@ -86,7 +86,7 @@ typedef union { vector* vector_val; -} BroValUnion; +}; class Val : public BroObj { public: