[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
230/376: Bindings: Remove copy constructor
From: |
Ludovic Courtès |
Subject: |
230/376: Bindings: Remove copy constructor |
Date: |
Wed, 28 Jan 2015 22:05:15 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 0ed1b924be879bb27ba5cdefdb96e26519bea40a
Author: Eelco Dolstra <address@hidden>
Date: Wed Sep 24 15:29:05 2014 +0200
Bindings: Remove copy constructor
---
src/libexpr/eval.hh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index ed572b4..38d7377 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;
- 145/376: Use proper quotes everywhere, (continued)
- 145/376: Use proper quotes everywhere, Ludovic Courtès, 2015/01/28
- 226/376: Add --force-name support for --set in nix-env, to support nix-install-package --set, Ludovic Courtès, 2015/01/28
- 220/376: Don't evaluate inside a "throw", Ludovic Courtès, 2015/01/28
- 217/376: Rename strictForceValue -> forceValueDeep, Ludovic Courtès, 2015/01/28
- 227/376: Updated documentation for nix-install-package to mention --set flag, Ludovic Courtès, 2015/01/28
- 228/376: Fix use of PAGER during tests, Ludovic Courtès, 2015/01/28
- 221/376: Remove release notes Hydra product, Ludovic Courtès, 2015/01/28
- 218/376: Make forceValueDeep work on values with cycles, Ludovic Courtès, 2015/01/28
- 229/376: Remove bash requirement, Ludovic Courtès, 2015/01/28
- 231/376: nix-daemon: Close unnecessary fd, Ludovic Courtès, 2015/01/28
- 230/376: Bindings: Remove copy constructor,
Ludovic Courtès <=
- 222/376: Add missing static, Ludovic Courtès, 2015/01/28
- 223/376: manual: add a note that lists are strict in length, Ludovic Courtès, 2015/01/28
- 232/376: printMissing(): Print derivations in approximate build order, Ludovic Courtès, 2015/01/28
- 234/376: printValue(): Don't print <CYCLE> for repeated values, Ludovic Courtès, 2015/01/28
- 233/376: Support control characters in JSON output, Ludovic Courtès, 2015/01/28
- 235/376: createDirs(): Handle ‘path’ being a symlink, Ludovic Courtès, 2015/01/28
- 238/376: Add test for readDir primop, Ludovic Courtès, 2015/01/28
- 240/376: Remove some duplicate code, Ludovic Courtès, 2015/01/28
- 239/376: Add readDir primop, Ludovic Courtès, 2015/01/28
- 224/376: add manpage for nix-generate-patches, Ludovic Courtès, 2015/01/28