diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-02-04 00:33:13 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-02-04 00:33:13 +0100 |
commit | 4c755c3b3fc427afe192d223b37c288c88cc57d5 (patch) | |
tree | 2cf2973f2a6d1b1a204efc4adafee82bff95f7d7 /src/libexpr/eval.hh | |
parent | 1aa5994e6d7bfb32895264c3a2f1d94cc7272a72 (diff) | |
parent | 50efc5499a7d924828bed654be207a846c040fa0 (diff) |
Merge branch 'issue-3505' of https://github.com/kamadorueda/nix
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 04acc5728..190dd16dc 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -222,7 +222,7 @@ public: of the evaluation of the thunk. If `v' is a delayed function application, call the function and overwrite `v' with the result. Otherwise, this is a no-op. */ - inline void forceValue(Value & v, const Pos & pos = noPos); + inline void forceValue(Value & v, const Pos & pos); /* Force a value, then recursively force list elements and attributes. */ @@ -232,9 +232,7 @@ public: NixInt forceInt(Value & v, const Pos & pos); NixFloat forceFloat(Value & v, const Pos & pos); bool forceBool(Value & v, const Pos & pos); - inline void forceAttrs(Value & v); inline void forceAttrs(Value & v, const Pos & pos); - inline void forceList(Value & v); inline void forceList(Value & v, const Pos & pos); void forceFunction(Value & v, const Pos & pos); // either lambda or primop std::string_view forceString(Value & v, const Pos & pos = noPos); |