bison-patches
[Top][All Lists]
Advanced

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

[PATCH 6/7] style: m4: remove useless reference to 'int' in integral typ


From: Akim Demaille
Subject: [PATCH 6/7] style: m4: remove useless reference to 'int' in integral types
Date: Sun, 12 Aug 2018 15:16:15 +0200

* m4/cxx.m4: Prefer 'unsigned' to 'unsigned int'.
---
 m4/cxx.m4 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/m4/cxx.m4 b/m4/cxx.m4
index 5e8ee2ab..58bc47e9 100644
--- a/m4/cxx.m4
+++ b/m4/cxx.m4
@@ -34,9 +34,9 @@ AC_DEFUN([BISON_TEST_FOR_WORKING_CXX_COMPILER],
           using namespace std;],
          [std::cerr << "";
           cout << "";
-          typedef std::pair<unsigned int, int> uipair;
-          std::map<unsigned int, int> m;
-          std::map<unsigned int, int>::iterator i;
+          typedef std::pair<unsigned, int> uipair;
+          std::map<unsigned, int> m;
+          std::map<unsigned, int>::iterator i;
           m.insert (uipair (4, -4));
           for (i = m.begin (); i != m.end (); ++i)
             if (i->first != 4)
-- 
2.18.0




reply via email to

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