diff options
author | Keith Isdale <keith.isdale@nokia.com> | 2009-07-01 12:35:46 +1000 |
---|---|---|
committer | Keith Isdale <keith.isdale@nokia.com> | 2009-08-24 15:28:07 +1000 |
commit | fefd6e45962ac915fe9cd43b245642985c36b36d (patch) | |
tree | 4d0694fcb0720d493b7bb4995533865535c32675 /src/qt3support/tools | |
parent | 6c282e096c160ef0426466042bf4bb4e0e28f0b2 (diff) | |
download | qt4-tools-fefd6e45962ac915fe9cd43b245642985c36b36d.tar.gz |
Make assorted constructors follow good coding practice
Ensure that class members are initialized
Moved some value assignment from constructor body into the the constructor's intializer list
Reviewed-by: Jason McDonald
Diffstat (limited to 'src/qt3support/tools')
-rw-r--r-- | src/qt3support/tools/q3garray.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt3support/tools/q3garray.cpp b/src/qt3support/tools/q3garray.cpp index e4aef3d6dd..c1360a006a 100644 --- a/src/qt3support/tools/q3garray.cpp +++ b/src/qt3support/tools/q3garray.cpp @@ -114,6 +114,7 @@ Q3GArray::Q3GArray() */ Q3GArray::Q3GArray(int, int) + : shd(0) { } |