mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
c26b9c509d
In an upcoming patch we'll want to initialize mUniqueStrings by stealing another object's UniqueJSONStrings, but UniqueJSONStrings itself is not move-constructible. But UniquePtr is. Making UniqueJSONStrings itself move-constructible would be a bit tricky because it has a SpliceableChunkedJSONWriter which is not move-constructible; and making SpliceableChunkedJSONWriter move-constructible is hard because there's no obvious "empty but valid" state that we could leave a moved-out-of SpliceableChunkedJSONWriter in; for example, it expects to have a non-null WriteFunc at all times. MozReview-Commit-ID: Q6o61HFTiD --HG-- extra : rebase_source : d18344cab5acc97192a69069a8c338ed112fff6c |
||
---|---|---|
.. | ||
core | ||
gecko | ||
lul | ||
public | ||
tasktracer | ||
tests | ||
merge-profiles.py | ||
moz.build |