diff options
Diffstat (limited to '')
-rw-r--r-- | third_party/nix/src/libexpr/attr-set.hh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/third_party/nix/src/libexpr/attr-set.hh b/third_party/nix/src/libexpr/attr-set.hh index 3834eac419e1..55641a020325 100644 --- a/third_party/nix/src/libexpr/attr-set.hh +++ b/third_party/nix/src/libexpr/attr-set.hh @@ -67,13 +67,9 @@ class Bindings { public: typedef BindingsIterator iterator; - // Allocate a new attribute set that is visible to the garbage - // collector. - static Bindings* NewGC(); - // Allocate a new attribute set with a static capacity that is visible to the // garbage collector. - // static Bindings* NewGC(size_t capacity); + static Bindings* NewGC(size_t capacity = 0); // Return the number of contained elements. virtual size_t size() = 0; |