about summary refs log tree commit diff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index ed572b4291a1..38d73772560f 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -43,11 +43,12 @@ private:
     Attr attrs[0];
 
     Bindings(uint32_t capacity) : size_(0), capacity(capacity) { }
+    Bindings(const Bindings & bindings) = delete;
 
 public:
-    size_t size() { return size_; }
+    size_t size() const { return size_; }
 
-    bool empty() { return !size_; }
+    bool empty() const { return !size_; }
 
     typedef Attr * iterator;