equal
deleted
inserted
replaced
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 |