about summary refs log tree commit diff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25T09·23+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25T09·23+0100
commit4e340a983f928973d3915455d46a4bbadbc3269c (patch)
tree9e6982a87e3293f1e48a66a4d2db13e8db89fcca /src/libexpr/eval.cc
parent976b949e4d194c242c6024bbaa65f4f3b3620225 (diff)
forceString(): Accept pos argument
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 81774974a90c..ebb28021c180 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -1257,9 +1257,9 @@ void copyContext(const Value & v, PathSet & context)
 }
 
 
-string EvalState::forceString(Value & v, PathSet & context)
+string EvalState::forceString(Value & v, PathSet & context, const Pos & pos)
 {
-    string s = forceString(v);
+    string s = forceString(v, pos);
     copyContext(v, context);
     return s;
 }