mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
glr2.cc: we require C++11
* data/skeletons/glr2.cc: So no need for C++98 compatibility.
This commit is contained in:
@@ -1897,11 +1897,7 @@ namespace
|
|||||||
semantic_option& yynewSemanticOption (semantic_option newOption)
|
semantic_option& yynewSemanticOption (semantic_option newOption)
|
||||||
{
|
{
|
||||||
semantic_option& option = yyitems[yynewGLRStackItem (false)].getOption ();
|
semantic_option& option = yyitems[yynewGLRStackItem (false)].getOption ();
|
||||||
#if 201103L <= YY_CPLUSPLUS
|
|
||||||
option = std::move (newOption);
|
option = std::move (newOption);
|
||||||
#else
|
|
||||||
option = newOption;
|
|
||||||
#endif
|
|
||||||
return option;
|
return option;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user