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-09-19T14·56+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-19T14·56+0200
commit93e4f01ee3ea33f47ade8530e5fa78346008ea6e (patch)
treee28e5972063b8e2ce05bd28234bd222ac723ab02 /src/libexpr/eval.cc
parent5b58991a71d15123c010bbbd7f08530dbc31173f (diff)
Inline Bindings::find()
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index b07d210c1b39..cf8aafa8f2b3 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -32,15 +32,6 @@
 namespace nix {
 
 
-Bindings::iterator Bindings::find(const Symbol & name)
-{
-    Attr key(name, 0);
-    iterator i = std::lower_bound(begin(), end(), key);
-    if (i != end() && i->name == name) return i;
-    return end();
-}
-
-
 void Bindings::sort()
 {
     std::sort(begin(), end());