aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-24 15:29:05 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-24 15:29:05 +0200
commit0ed1b924be879bb27ba5cdefdb96e26519bea40a (patch)
treedc17f8b4a9187d99075421e92e4e8e27a6d2a886
parente83a027e00f1f5d729e78f3b4c94daa97704d065 (diff)
Bindings: Remove copy constructor
-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 ed572b429..38d737725 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;