src/dbus/qdbuspendingreply.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   186 #endif
   186 #endif
   187 
   187 
   188 private:
   188 private:
   189     inline void calculateMetaTypes()
   189     inline void calculateMetaTypes()
   190     {
   190     {
       
   191         if (!d) return;
   191         int typeIds[Count > 0 ? Count : 1]; // use at least one since zero-sized arrays aren't valid
   192         int typeIds[Count > 0 ? Count : 1]; // use at least one since zero-sized arrays aren't valid
   192         ForEach::fillMetaTypes(typeIds);
   193         ForEach::fillMetaTypes(typeIds);
   193         setMetaTypes(Count, typeIds);
   194         setMetaTypes(Count, typeIds);
   194     }
   195     }
   195 
   196