From db0ebfd97d14bf3c537957d9642ba014318f8418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Mon, 24 Aug 2009 12:50:29 +0200 Subject: 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 --- src/xmlpatterns/acceltree/qacceltree_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { } -- cgit v0.12