From fb5f677b6acaf71bea0bdaea6eeccad1869ca49f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 2 Oct 2011 11:28:32 +0000 Subject: [PATCH] Fix harmless gcc initialization order warning. Put the initializes in wxDataViewTreeNode constructor initialization list in order of their declaration. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/datavgen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index f9a43c7075..d0a0d65d62 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -322,8 +322,8 @@ class wxDataViewTreeNode { public: wxDataViewTreeNode(wxDataViewTreeNode *parent, const wxDataViewItem& item) - : m_item(item), - m_parent(parent), + : m_parent(parent), + m_item(item), m_branchData(NULL) { } -- 2.45.2