Revert ineffective workaround for bison 3.2.3 bug

This reverts commit 7eced7335a.
This commit is contained in:
Wolfgang Thaller 2018-12-25 00:05:28 +01:00
parent ac1b89dd41
commit a3d330fa3b

View File

@ -118,18 +118,7 @@
{
public:
RezSymbol() = default;
// Bison 3.2 has a bug in the move constructor for basic_symbol<by_type>.
// Bison-generated code uses only basic_symbol<by_type>::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)) {}
};
}