X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/cc8962bdde81b04aa728aef21e53b4a08a0debfe..3afe18fd1fdc467e6662158275c5d8c3b7121e83:/data/variant.hh diff --git a/data/variant.hh b/data/variant.hh index ac4f7a78..19538f6d 100644 --- a/data/variant.hh +++ b/data/variant.hh @@ -178,8 +178,7 @@ m4_define([b4_variant_define], template void move (self_type& other) - {]b4_parse_assert_if([ - YYASSERT (!yytname_);])[ + { build (); swap (other); other.destroy ();