refactor(3p/tvix): convert NixList usage to shared_ptr

Starting to reclaim memory. Fairly simple mechanical replacement.

Change-Id: I6b4c5c5596729470d1a049eba61e69e8097decf4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1971
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
Kane York 2020-09-12 08:09:18 -07:00 committed by kanepyork
parent 381ce8a666
commit 2c19bd6662
4 changed files with 12 additions and 12 deletions

View file

@ -96,7 +96,7 @@ struct Value {
NixString string;
const char* path;
std::shared_ptr<Bindings> attrs;
NixList* list;
std::shared_ptr<NixList> list;
NixThunk thunk;
NixApp app; // TODO(tazjin): "app"?
NixLambda lambda;