Scicos: fix some C++ warnings 93/17593/1
Clément DAVID [Fri, 18 Dec 2015 08:06:43 +0000 (09:06 +0100)]
Change-Id: If44448f80c14b0aa3bedaea48c2024778573afa3

scilab/modules/scicos/src/cpp/view_scilab/BlockAdapter.hxx
scilab/modules/scicos/src/cpp/view_scilab/DiagramAdapter.hxx

index af148ce..b7f2a56 100644 (file)
@@ -61,12 +61,12 @@ private:
     types::InternalType* doc_content;
 
     // The following content represents the child diagram (in 'model.rpar')
-    // Child elements info
-    types::List* list_objects;
 
     // Child links info
     std::vector<link_t> from_vec;
     std::vector<link_t> to_vec;
+    // Child elements info
+    types::List* list_objects;
     // child diagram info
     types::InternalType* contrib_content;
 };
index 32fdb2a..8b888ee 100644 (file)
@@ -55,13 +55,14 @@ public:
     void setContribContent(types::InternalType* v);
 
 private:
-    // Infos for the child elements
-    types::List* list_objects;
-
     // Infos for the child links
     std::vector<link_t> from_vec;
     std::vector<link_t> to_vec;
 
+    // Infos for the child elements
+    types::List* list_objects;
+
+    // User-defined contrib
     types::InternalType* contrib_content;
 };