diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-21T03·56+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-21T04·09+0100 |
commit | c395a48be2ad58560590897e11793db032873ed6 (patch) | |
tree | 11cc692b442c10db9f1a6055cfe68bc534e6f494 /third_party/nix/src/libexpr/value-to-json.cc | |
parent | 97e85f94e5ee7e6c8340011757a71222b8091cda (diff) |
fix(3p/nix): Compatibility with updated SymbolTable r/795
The functions in SymbolTable have been renamed to match the Google Style guide, and some debug-only functions have been removed.
Diffstat (limited to 'third_party/nix/src/libexpr/value-to-json.cc')
-rw-r--r-- | third_party/nix/src/libexpr/value-to-json.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/value-to-json.cc b/third_party/nix/src/libexpr/value-to-json.cc index eaf0fca3d362..52ab44083b91 100644 --- a/third_party/nix/src/libexpr/value-to-json.cc +++ b/third_party/nix/src/libexpr/value-to-json.cc @@ -54,7 +54,7 @@ void printValueAsJSON(EvalState& state, bool strict, Value& v, names.insert(j.name); } for (auto& j : names) { - Attr& a(*v.attrs->find(state.symbols.create(j))); + Attr& a(*v.attrs->find(state.symbols.Create(j))); auto placeholder(obj.placeholder(j)); printValueAsJSON(state, strict, *a.value, placeholder, context); } |