summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-09-12 17:45:53 +0200
committerAkim Demaille <akim.demaille@gmail.com>2021-09-12 20:04:54 +0200
commitb07b5ce423942d9c7f55d1414a0c742b6ddeb095 (patch)
tree44e4389f4ea21a71bdf8d0df52154936245134dd
parent157e91dcc63b8be3bbc3f4f5c4a675341a07542b (diff)
downloadbison-b07b5ce423942d9c7f55d1414a0c742b6ddeb095.tar.gz
glr2.cc: we require C++11
* data/skeletons/glr2.cc: So no need for C++98 compatibility.
-rw-r--r--data/skeletons/glr2.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/data/skeletons/glr2.cc b/data/skeletons/glr2.cc
index 907abb2a..4dee6690 100644
--- a/data/skeletons/glr2.cc
+++ b/data/skeletons/glr2.cc
@@ -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;
}