From: Ulya Trofimovich Date: Sat, 4 Aug 2018 09:09:01 +0000 (+0100) Subject: Allow default copy for POD struct (fixes [-Wclass-memaccess] GCC warning). X-Git-Tag: 1.1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a3e72bf9e50b6f30738e5a32c6245f3ed092b63;p=re2c Allow default copy for POD struct (fixes [-Wclass-memaccess] GCC warning). --- diff --git a/re2c/src/code/go.h b/re2c/src/code/go.h index 40b3df95..767965b8 100644 --- a/re2c/src/code/go.h +++ b/re2c/src/code/go.h @@ -24,8 +24,6 @@ struct Span uint32_t ub; State * to; tcid_t tags; - - FORBID_COPY (Span); }; struct Case