summaryrefslogtreecommitdiffstats
path: root/src/gui/math3d/qgenericmatrix.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-06-02 05:10:43 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-06-02 05:10:43 (GMT)
commit63fba94e074c29f17e35c7cf9133d1878b18401f (patch)
tree3e084826b106dffe1f6eab60fd86b669b810d187 /src/gui/math3d/qgenericmatrix.h
parent3245f19f8d3abbcba5fcd9adc3fc984ad4c7ddcb (diff)
downloadQt-63fba94e074c29f17e35c7cf9133d1878b18401f.zip
Qt-63fba94e074c29f17e35c7cf9133d1878b18401f.tar.gz
Qt-63fba94e074c29f17e35c7cf9133d1878b18401f.tar.bz2
Fix signature for QGenericMatrix::fill()
The signature was using qreal, when it should have used T.
Diffstat (limited to 'src/gui/math3d/qgenericmatrix.h')
-rw-r--r--src/gui/math3d/qgenericmatrix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/math3d/qgenericmatrix.h b/src/gui/math3d/qgenericmatrix.h
index d0b22de..b4d3707 100644
--- a/src/gui/math3d/qgenericmatrix.h
+++ b/src/gui/math3d/qgenericmatrix.h
@@ -65,7 +65,7 @@ public:
bool isIdentity() const;
void setIdentity();
- void fill(qreal value);
+ void fill(T value);
QGenericMatrix<M, N, T, InnerT> transposed() const;
@@ -175,7 +175,7 @@ Q_OUTOFLINE_TEMPLATE void QGenericMatrix<N, M, T, InnerT>::setIdentity()
}
template <int N, int M, typename T, typename InnerT>
-Q_OUTOFLINE_TEMPLATE void QGenericMatrix<N, M, T, InnerT>::fill(qreal value)
+Q_OUTOFLINE_TEMPLATE void QGenericMatrix<N, M, T, InnerT>::fill(T value)
{
for (int col = 0; col < N; ++col)
for (int row = 0; row < M; ++row)