summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-08-24 10:50:29 (GMT)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-08-24 11:07:56 (GMT)
commitdb0ebfd97d14bf3c537957d9642ba014318f8418 (patch)
tree9a3fc156b4041de60d0c788806ed255d6ee356ac /src
parent05fff98a2434e505ebe077ece7cb070436aae4d4 (diff)
downloadQt-db0ebfd97d14bf3c537957d9642ba014318f8418.zip
Qt-db0ebfd97d14bf3c537957d9642ba014318f8418.tar.gz
Qt-db0ebfd97d14bf3c537957d9642ba014318f8418.tar.bz2
Fixed compile error with gcc 4.3.3
Don't initialize the members of BasicNodeData. They don't need to be initialized, and m_kind has no sane default value anyway. Reviewed-by: Frans Englich <frans.englich@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/xmlpatterns/acceltree/qacceltree_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/acceltree/qacceltree_p.h b/src/xmlpatterns/acceltree/qacceltree_p.h
index cebc6bd..d91fdf4 100644
--- a/src/xmlpatterns/acceltree/qacceltree_p.h
+++ b/src/xmlpatterns/acceltree/qacceltree_p.h
@@ -128,8 +128,8 @@ namespace QPatternist
class BasicNodeData
{
public:
+ /* No need to initialize the members. See AccelTreeBuilder. */
inline BasicNodeData()
- : m_parent(0), m_size(0), m_depth(0), m_kind(0)
{
}