bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/5] glr2.cc: we require C++11


From: Akim Demaille
Subject: [PATCH 2/5] glr2.cc: we require C++11
Date: Mon, 13 Sep 2021 07:28:13 +0200

* data/skeletons/glr2.cc: So no need for C++98 compatibility.
---
 data/skeletons/glr2.cc | 4 ----
 1 file changed, 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;
     }
 
-- 
2.32.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]