src/primitives.cpp

changeset 539
72ad83a67165
parent 538
2f85d4d286e5
child 551
0efe5dbcef07
equal deleted inserted replaced
538:2f85d4d286e5 539:72ad83a67165
167 167
168 // ============================================================================= 168 // =============================================================================
169 // ----------------------------------------------------------------------------- 169 // -----------------------------------------------------------------------------
170 static PrimitiveCategory* findCategory (str name) 170 static PrimitiveCategory* findCategory (str name)
171 { for (PrimitiveCategory & cat : g_PrimitiveCategories) 171 { for (PrimitiveCategory & cat : g_PrimitiveCategories)
172 if (cat.name() == name) 172 if (cat.getName() == name)
173 return &cat; 173 return &cat;
174 174
175 return null; 175 return null;
176 } 176 }
177 177

mercurial