From dd180911d8ecf737e6b2ceb89d6797965fcc3b78 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Mon, 4 Mar 2024 07:32:31 +0100 Subject: Merge pull request #9582 from pennae/misc-opts a packet of small optimizations (cherry picked from commit ee439734e924eb337a869ff2e48aff8b989198bc) Change-Id: I125d870710750a32a0dece48f39a3e9132b0d023 --- src/libexpr/eval.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libexpr/eval.hh') diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 4425efbca..20ea7b704 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -467,8 +467,7 @@ public: */ inline void forceValue(Value & v, const PosIdx pos); - template - inline void forceValue(Value & v, Callable getPos); + void tryFixupBlackHolePos(Value & v, PosIdx pos); /** * Force a value, then recursively force list elements and -- cgit v1.2.3