avoid unnecesary calls

This commit is contained in:
Kevin Amado
2022-01-21 16:32:43 -05:00
parent 49b0bb0206
commit 1472e045a7
2 changed files with 0 additions and 18 deletions
-2
View File
@@ -231,9 +231,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
string forceString(Value & v, const Pos & pos = noPos);