Instance & Dynamic property map changes to HashTable complete.
git-svn-id: svn://10.0.0.236/trunk@139528 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1032,9 +1032,10 @@ namespace MetaData {
|
||||
if (dMap) {
|
||||
nameList = new const String *[dMap->size()];
|
||||
length = 0;
|
||||
for (DynamicPropertyIterator i = dMap->begin(), end = dMap->end(); (i != end); i++) {
|
||||
if (i->second.flags & DynamicPropertyValue::ENUMERATE)
|
||||
nameList[length++] = &i->first;
|
||||
for (DynamicPropertyIterator dpi = dMap->begin(), dpend = dMap->end(); (dpi != dpend); dpi++) {
|
||||
DynamicPropertyBinding *dpb = *dpi;
|
||||
if (dpb->v.flags & DynamicPropertyValue::ENUMERATE)
|
||||
nameList[length++] = &dpb->name;
|
||||
}
|
||||
it = 0;
|
||||
return (length != 0);
|
||||
|
||||
Reference in New Issue
Block a user