| 22 | public: |
| 23 | |
| 24 | static Retained<MutableDict> newDict(const Dict *d =nullptr, CopyFlags flags =kDefaultCopy) { |
| 25 | auto hd = retained(new internal::HeapDict(d)); |
| 26 | if (flags) |
| 27 | hd->copyChildren(flags); |
| 28 | return hd->asMutableDict(); |
| 29 | } |
| 30 | |
| 31 | Retained<MutableDict> copy(CopyFlags f =kDefaultCopy) {return newDict(this, f);} |
| 32 |
nothing calls this directly
no test coverage detected