[git commit] istream: Change mismatching float variable

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Apr 4 15:13:59 UTC 2019


commit: https://git.uclibc.org/uClibc++/commit/?id=ca0176cce747423e885cbc765810042124a81220
branch: https://git.uclibc.org/uClibc++/commit/?id=refs/heads/master

Everywhere else in the file floats and doubles use an f variable.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 include/istream | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/istream b/include/istream
index afcaa5b..72a8834 100644
--- a/include/istream
+++ b/include/istream
@@ -473,24 +473,24 @@ namespace std{
 #endif
 #ifdef __UCLIBCXX_HAS_FLOATS__
 	template <class charT, class traits> _UCXXEXPORT basic_istream<charT,traits>&
-		basic_istream<charT,traits>::operator>>(float& n)
+		basic_istream<charT,traits>::operator>>(float& f)
 	{
 		sentry(*this);
-		__istream_readin<traits, charT, float>::readin(*this, n);
+		__istream_readin<traits, charT, float>::readin(*this, f);
 		return *this;
 	}
 	template <class charT, class traits> _UCXXEXPORT basic_istream<charT,traits>&
-		basic_istream<charT,traits>::operator>>(double& n)
+		basic_istream<charT,traits>::operator>>(double& f)
 	{
 		sentry(*this);
-		__istream_readin<traits, charT, double>::readin(*this, n);
+		__istream_readin<traits, charT, double>::readin(*this, f);
 		return *this;
 	}
 	template <class charT, class traits> _UCXXEXPORT basic_istream<charT,traits>&
-		basic_istream<charT,traits>::operator>>(long double& n)
+		basic_istream<charT,traits>::operator>>(long double& f)
 	{
 		sentry(*this);
-		__istream_readin<traits, charT, long double>::readin(*this, n);
+		__istream_readin<traits, charT, long double>::readin(*this, f);
 		return *this;
 	}
 #endif


More information about the uClibc-cvs mailing list