From a3d330fa3ba271e0886b8e9371ce86ff209c32b9 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Tue, 25 Dec 2018 00:05:28 +0100 Subject: [PATCH] Revert ineffective workaround for bison 3.2.3 bug This reverts commit 7eced7335a1f0bc8375d8b84a606dd1456546ac1. --- Rez/RezParser.yy | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Rez/RezParser.yy b/Rez/RezParser.yy index e7f5259ef0..7563a33036 100644 --- a/Rez/RezParser.yy +++ b/Rez/RezParser.yy @@ -118,18 +118,7 @@ { public: RezSymbol() = default; - - // Bison 3.2 has a bug in the move constructor for basic_symbol. - // Bison-generated code uses only basic_symbol::move, which - // works without crashing. - RezSymbol(yy::RezParser::symbol_type&& x) - { - move(x); - } - RezSymbol(RezSymbol&& x) - { - move(x); - } + RezSymbol(yy::RezParser::symbol_type&& x) : yy::RezParser::symbol_type(std::move(x)) {} }; }