aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/value.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-02-04 00:31:33 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-02-04 00:33:21 +0100
commitbd383d1b6f91c4fe7ac21c52771e92027f649fa0 (patch)
tree6845b5d2f709df2cbf06bca8de67cdab075902d2 /src/libexpr/value.hh
parent4c755c3b3fc427afe192d223b37c288c88cc57d5 (diff)
Make most calls to determinePos() lazy
Diffstat (limited to 'src/libexpr/value.hh')
-rw-r--r--src/libexpr/value.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh
index 1896c7563..bef5cd6bd 100644
--- a/src/libexpr/value.hh
+++ b/src/libexpr/value.hh
@@ -361,7 +361,7 @@ public:
return internalType == tList1 ? 1 : internalType == tList2 ? 2 : bigList.size;
}
- Pos determinePos(const Pos &pos) const;
+ Pos determinePos(const Pos & pos) const;
/* Check whether forcing this value requires a trivial amount of
computation. In particular, function applications are