[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
- [PATCH 0/7] remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 7/7] regen, Akim Demaille, 2018/08/12
- [PATCH 6/7] style: m4: remove useless reference to 'int' in integral types,
Akim Demaille <=
- [PATCH 1/7] style: data: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 4/7] style: lib: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 3/7] style: src: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 2/7] style: tests: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12
- [PATCH 5/7] style: doc: remove useless reference to 'int' in integral types, Akim Demaille, 2018/08/12