random.tcc: Fixup long line.

2006-10-17  Benjamin Kosnik  <bkoz@redhat.com>

	* include/tr1/random.tcc: Fixup long line.

From-SVN: r117825
This commit is contained in:
Benjamin Kosnik 2006-10-17 12:53:40 +00:00 committed by Benjamin Kosnik
parent 46db415941
commit 4d79381119
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-10-17 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/random.tcc: Fixup long line.
2006-10-17 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/28514

View File

@ -332,7 +332,8 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1)
_UIntType __factor = 1;
for (int __j = 0; __j < __n; ++__j)
{
__tmp += __detail::__mod<__detail::_UInt32Type, 1, 0, 0>(__gen()) * __factor;
__tmp += __detail::__mod<__detail::_UInt32Type, 1, 0, 0>
(__gen()) * __factor;
__factor *= __detail::_Shift<_UIntType, 32>::__value;
}
_M_x[__i] = __detail::__mod<_UIntType, 1, 0, modulus>(__tmp);