mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 15:56:18 +02:00
Bindings: Remove copy constructor
This commit is contained in:
parent
e83a027e00
commit
0ed1b924be
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue