glr2.cc: we require C++11

* data/skeletons/glr2.cc: So no need for C++98 compatibility.
This commit is contained in:
Akim Demaille
2021-09-12 17:45:53 +02:00
parent 157e91dcc6
commit b07b5ce423

View File

@@ -1897,11 +1897,7 @@ namespace
semantic_option& yynewSemanticOption (semantic_option newOption)
{
semantic_option& option = yyitems[yynewGLRStackItem (false)].getOption ();
#if 201103L <= YY_CPLUSPLUS
option = std::move (newOption);
#else
option = newOption;
#endif
return option;
}