fix(3p/nix/libexpr): Remove default & copy constructors for VectorBindings
Paired-With: Luke Granger-Brown <git@lukegb.com> Paired-With: Vincent Ambo <mail@tazj.in> Paired-With: Perry Lorier <isomer@tvl.fyi> Change-Id: Ief2e59d461452ce599abc63f6ebcfa07a7062491 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1161 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
parent
d94690b537
commit
6166c9daf2
1 changed files with 2 additions and 1 deletions
3
third_party/nix/src/libexpr/attr-set.cc
vendored
3
third_party/nix/src/libexpr/attr-set.cc
vendored
|
@ -131,7 +131,6 @@ void BTreeBindings::merge(Bindings& other) {
|
|||
|
||||
class VectorBindings : public Bindings {
|
||||
public:
|
||||
VectorBindings() {};
|
||||
VectorBindings(size_t capacity) : attributes_() {
|
||||
attributes_.reserve(capacity);
|
||||
};
|
||||
|
@ -145,6 +144,8 @@ class VectorBindings : public Bindings {
|
|||
void merge(Bindings& other) override;
|
||||
[[deprecated]] virtual std::vector<const Attr*> lexicographicOrder() override;
|
||||
|
||||
VectorBindings(VectorBindings&) = delete;
|
||||
|
||||
private:
|
||||
AttributeVector attributes_;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue