ResourceSet::ResourceSet(const ResourceSet& aResourceSet) : mResources(nsnull), mCount(0), mCapacity(0) { ConstIterator last = aResourceSet.Last(); for (ConstIterator resource = aResourceSet.First(); resource != last; ++resource) Add(*resource); }
ResourceSet() : mResources(nsnull), mCount(0), mCapacity(0) { MOZ_COUNT_CTOR(ResourceSet); }
ResourceSet::ResourceSet(const ResourceSet& aResourceSet)    : mResources(nsnull),      mCount(0),      mCapacity(0){    ConstIterator last = aResourceSet.Last();    for (ConstIterator resource = aResourceSet.First(); resource != last; ++resource)        Add(*resource);}