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)) {} }; }