]> granicus.if.org Git - re2c/commitdiff
Allow default copy for POD struct (fixes [-Wclass-memaccess] GCC warning).
authorUlya Trofimovich <skvadrik@gmail.com>
Sat, 4 Aug 2018 09:09:01 +0000 (10:09 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Sat, 4 Aug 2018 09:09:01 +0000 (10:09 +0100)
re2c/src/code/go.h

index 40b3df95178d4fd3a1ea336b00a25263c1461cfb..767965b8fc07bc6c4cd5851683867afa4046177c 100644 (file)
@@ -24,8 +24,6 @@ struct Span
        uint32_t ub;
        State * to;
        tcid_t tags;
-
-       FORBID_COPY (Span);
 };
 
 struct Case